correct a comment on viper.Set() (#553)

correct regiser with register
This commit is contained in:
Robin Brämer 2018-08-28 09:29:26 +02:00 committed by aarti
parent 40b1bbb9a8
commit e436d04e6d

View file

@ -1139,7 +1139,7 @@ func (v *Viper) SetDefault(key string, value interface{}) {
deepestMap[lastKey] = value
}
// Set sets the value for the key in the override regiser.
// Set sets the value for the key in the override register.
// Set is case-insensitive for a key.
// Will be used instead of values obtained via
// flags, config file, ENV, default, or key/value store.