These are my very own tools for Go that I use regularly for most of my little command line tools.
You don't need that.
A basic config struct that gives you some flags and some info. Logging is established.
###Debugging info ...
-logcolour Use coloured logging (switch off when redirecting log output). (default true) -logfile string Sets the name of the logfile. Uses STDOUT if empty. -loglevel string Determines logging verbosity. [All|Info|Debug|Warn|Error|Fatal|Off]. (default "Warn") -version Show version info.