I mentioned in the online meetup that it was easy to build little CLI tools in Golang. I’ve only been using the language for a few days, but here are some examples of what is built in:
To set-up and install the program, see this page:
https://golang.org/doc/code.html
Basically, it’s as easy as:
- Write a quick Go program using the examples above
- Type
go init mod hello_world
- Type
go install hello_world.go
- It’s now compiled and installed on your path, so you can run it with
hello_world
There isn’t anything else to install or configure.