Fix function AllowEmptyEnv name in documentation

Function is AllowEmptyEnv rather than AllowEmptyEnvVar
This commit is contained in:
Stephen Ford 2019-01-02 09:54:50 +00:00
parent 6d33b5a963
commit 3a0ea76e70
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ with ENV:
* `BindEnv(string...) : error`
* `SetEnvPrefix(string)`
* `SetEnvKeyReplacer(string...) *strings.Replacer`
* `AllowEmptyEnvVar(bool)`
* `AllowEmptyEnv(bool)`
_When working with ENV variables, its important to recognize that Viper
treats ENV variables as case sensitive._