Install golang-github-spf13-viper-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-spf13-viper-dev
Description:
Go configuration with fangs
Viper is a complete configuration solution for Go applications including 12-Factor apps. It is designed to work within an application, and can handle all types of configuration needs and formats. It supports: . * setting defaults * reading from JSON, TOML, YAML, HCL, and Java properties config files * live watching and re-reading of config files (optional) * reading from environment variables * reading from remote config systems (etcd or Consul), and watching changes * reading from command line flags * reading from buffer * setting explicit values . Viper can be thought of as a registry for all of your applications configuration needs.
Homepage: https://github.com/spf13/viper
Version: 1.0.0+git20171109.4dddf7c-1
Section: universe/devel