Cons


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.