Simple, lightweight, extensible, configuration management library for Go. Support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
It's not hard to a) look for a key in an environment variable b) accept a key as a parameter c) load a key from a file d) all of the above with something like koanf
Viper – Go Configuration with Fangs
4 projects | news.ycombinator.com | 20 May 2022
Is Viper necessary if my app is only using environment variables?
2 projects | reddit.com/r/golang | 19 Feb 2021
Golang lib to keep configs tidy
1 project | news.ycombinator.com | 16 Jun 2022
I've been using "caarlos0/env" for nearly 4 years? Anything better?
3 projects | reddit.com/r/golang | 26 Jan 2021
Monthly 'Shameless Self Promotion' thread - 2022/08
2 projects | reddit.com/r/devops | 1 Aug 2022