flagconfig
A very simple library for specifying parameters and their default values and
having them be read in from either the command-line or a configuration file.
Also does auto-generation of configuration files with default values set.
Installation
Goatfile:
{
"loc":"https://github.com/mediocregopher/flagconfig.git",
"type":"git",
"reference":"v0.3.0",
"path":"github.com/mediocregopher/flagconfig"
}
Standard
go get github.com/mediocregopher/flagconfig
Usage
Godocs can be found
here
See the example for basic usage.