The cons Package

I’ve shared the repo for my cons package. It’s written in Go and is aimed at helping create console programs in Go, of the type that loop and interpret your commands until you exit. The cons package also includes some color support to make it a bit easier to use colors in your text output and/or your prompt.

The package has no external dependencies, that is, outside of the Go standard package library. So it’s easy to go get and start using in your program. There are a lot of packages around that do the same thing; mine is just another slightly different take. I do use it myself though, and to me it seems just about right. If I like using it, maybe someone else will to.

You can find out more about it at https://github.com/rferrante/cons