From 64fc762506cfefeb0e9d2a4fea78e1333c97def9 Mon Sep 17 00:00:00 2001 From: Bill Robbins Date: Fri, 6 Feb 2015 15:58:40 -0600 Subject: [PATCH] enable 'static' method call of EnableCascading --- viper.go | 1 + 1 file changed, 1 insertion(+) diff --git a/viper.go b/viper.go index a4baa45..cf4a31d 100644 --- a/viper.go +++ b/viper.go @@ -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; }