Made a library? Written a blog post? Found a useful tutorial? Share it with the Go community here or just enjoy what everyone else has found!
config is an easy-to-use package that supports reading configuration into a struct from files, environment variables and command-line arguments. All you need is to declare a structure that will hold your configuration and call
Read method. The library will pool the values from a config file in any well-known format, from env vars that follows simple naming convention, or from command-line arguments
go get github.com/num30/config