From 3a0ea76e70dec4a334e49338ffffa9d3f417947e Mon Sep 17 00:00:00 2001 From: Stephen Ford <11182275+smford@users.noreply.github.com> Date: Wed, 2 Jan 2019 09:54:50 +0000 Subject: [PATCH] Fix function AllowEmptyEnv name in documentation Function is AllowEmptyEnv rather than AllowEmptyEnvVar --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0208eac..fd481c6 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,7 @@ with ENV: * `BindEnv(string...) : error` * `SetEnvPrefix(string)` * `SetEnvKeyReplacer(string...) *strings.Replacer` - * `AllowEmptyEnvVar(bool)` + * `AllowEmptyEnv(bool)` _When working with ENV variables, it’s important to recognize that Viper treats ENV variables as case sensitive._