Golang: Use viper with local config, management with struct, and envrionment variables
Viper is a complete configuration solution for Go applications. It is designed to work within an application, and can handle all types of configuration needs and formats. Also, viper has many features, such as support for different configuration formats (JSON, TOML, YAML, etc.), live watching and re-reading of config files, reading from environment variables, etc.
Here will demostract how to use viper with local config, management with struct, and envrionment variables.
Continue Reading