enable 'static' method call of EnableCascading

This commit is contained in:
Bill Robbins 2015-02-06 15:58:40 -06:00
parent 997cc95aa8
commit 64fc762506

View file

@ -141,6 +141,7 @@ func (v *viper) SetEnvPrefix(in string) {
// Enable cascading configuration values for files. Will traverse down
// ConfigPaths in an attempt to find keys
func EnableCascading(enable bool){ v.EnableCascading(enable) }
func (v *viper) EnableCascading(enable bool){
v.cascadeConfigurations = enable;
}