mirror of
https://github.com/spf13/viper
synced 2025-05-06 12:17:18 +00:00
Fix typo: regiser to register in comment
This commit is contained in:
parent
c14ce6d43c
commit
2b28cc09b5
1 changed files with 1 additions and 1 deletions
2
viper.go
2
viper.go
|
@ -1081,7 +1081,7 @@ func (v *Viper) SetDefault(key string, value interface{}) {
|
|||
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
|
||||
// flags, config file, ENV, default, or key/value store.
|
||||
func Set(key string, value interface{}) { v.Set(key, value) }
|
||||
|
|
Loading…
Add table
Reference in a new issue