Develop.Cheap

Go, testing and GitHub actions

Hamilton, Bermuda

Yes, another week without a particular theme, but sometimes that’s nice. More chance you’ll find something interesting that you like. At least that’s what I’m going to tell myself. Here’s hoping it is true for you.

PubSub using channels in Go

A nice article discussing the implementation of pub/sub using goroutines and channels in Go. This is for internal pub/sub within your application, not distributed network pub/sub.

https://eli.thegreenplace.net/2020/pubsub-using-channels-in-go/

asciigraph logo or screenshot

asciigraph

Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies. If you’ve ever wanted to create a line graph on the console or other text based environment, this tool may help.

https://github.com/guptarohit/asciigraph

Testing Library logo or screenshot

Testing Library

Simple and complete testing utilities that encourage good testing practices. A testing library for JavaScript which encourages you to test what your users are actually doing in the application. Nice integration with a number of frameworks as well.

https://testing-library.com/

And a video about using GitHub Actions for more than just CI/CD. For those not familiar, GitHub Actions is a mostly free automation pipeline that you can use to execute actions, either community provided or self written in response to various events.

THIS IS MY FAVORITE NEW (FREE!) PROGRAMMING TOOL | GitHub Actions Tutorial
Written by Colin Bate