github.com/benzinga/flagstruct (go): Package flagstruct is a simple package that allows you to express flag and environment variable based configuration using structs and struct tagging.  flagstruct works on arbitrary structures with struct tagging. The following struct tags are supported:  Default values are derived from the value of the member in the struct. To see exactly how this works, check out the package example.  This snippet shows how to use flag and environment parsing without using the Configure helper that couples configuration with parsing.   This snippet shows how to use flag and environment variable parsing with flagstruct.
Keywords: command-line|flags|golang|travis-ci