envconfig
Golang library for managing configuration data from environment variables
About this project
envconfig Documentation See godoc Usage Set some environment variables: Write some code: Results: Struct Tag Support Envconfig supports the use of struct tags to specify alternate, default, and required environment variables. For example, consider the following struct: Envconfig has automatic support for CamelCased struct elements when the splitwords:"true" tag is supplied. Without this tag, AutoSplitVar above would look for an environment variable called MYAPPAUTOSPLITVAR. With the setting applied it will look for MYAPPAUTOSPLITVAR. Note that numbers will get globbed into the previous word. If the setting does not do the right thing, you may use a manual…
Technologies
Project health
GitHub
Reviews
Built by
Maintain kelseyhightower/envconfig? Claiming verifies admin access through your GitHub account and gives you control of this listing.