uconfig
envconfig
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
uconfig
-
'Discoverable' Environment Variables for Configuration
I’ve really enjoyed using this one… https://github.com/omeid/uconfig You set some struct tags and it can print out what’s available. Can use flags as well, or a file.
envconfig
We haven't tracked posts mentioning envconfig yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
config - JSON or YAML configuration wrapper with convenient access methods.
viper - Go configuration with fangs
env - A simple and zero-dependencies library to parse environment variables into structs
go-arg - Struct-based argument parsing in Go
gcfg - read INI-style configuration files into Go structs; supports user-defined types and subsections
go-options - :package: Clean APIs for your Go Applications
ini - Package ini provides INI file read and write functionality in Go
koanf - Simple, extremely lightweight, extensible, configuration management library for Go. Support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
store - A dead simple configuration manager for Go applications