From 9766537120e76571a9a2dcafe4b25a3201dcac22 Mon Sep 17 00:00:00 2001 From: Nikola Kovacs Date: Sun, 23 Jul 2017 07:09:41 +0200 Subject: [PATCH] Fix grammar/typo in comment for getEnv() See #310 --- viper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viper.go b/viper.go index 39a3c06..4631e31 100644 --- a/viper.go +++ b/viper.go @@ -315,7 +315,7 @@ func (v *Viper) mergeWithEnvPrefix(in string) string { // (cammel case to snake case for JSON keys perhaps) // getEnv is a wrapper around os.Getenv which replaces characters in the original -// key. This allows env vars which have different keys then the config object +// key. This allows env vars which have different keys than the config object // keys func (v *Viper) getEnv(key string) string { if v.envKeyReplacer != nil {