How can I update my viper configs when the environment variables get change?
I check that viper.WatchConfig()
and viper.OnConfigChange()
works on the config file change, but I'm going to change the configs through the ENVs.
How can I update my viper configs when the environment variables get change?
I check that viper.WatchConfig()
and viper.OnConfigChange()
works on the config file change, but I'm going to change the configs through the ENVs.