correct a comment on viper.Set()

correct regiser with register
This commit is contained in:
Robin Brämer 2018-08-13 13:06:23 +02:00 committed by GitHub
parent 907c19d40d
commit 47c13064e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.