Fix typo: regiser to register in comment

This commit is contained in:
Konrad Kleine 2016-09-07 10:43:37 +02:00 committed by Konrad Kleine
parent c14ce6d43c
commit 2b28cc09b5

View file

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