Fix grammar/typo in comment for getEnv()

See #310
This commit is contained in:
Nikola Kovacs 2017-07-23 07:09:41 +02:00 committed by Anthony Fok
parent 16a9458573
commit 9766537120

View file

@ -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 {