The following is an example of how to use Viper to automatically reload configuration values at runtime from a YAML file. This is useful if the application cannot effortlessly be restarted when new configuration values are introduced.
github.com/spf13/viper , github.com/fsnotify/fsnotify
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.