mirror of
https://github.com/spf13/viper
synced 2024-12-23 03:57:01 +00:00
Typo
This commit is contained in:
parent
c975dc1b4e
commit
06cf89abd0
1 changed files with 1 additions and 1 deletions
2
viper.go
2
viper.go
|
@ -540,7 +540,7 @@ func (v *Viper) GetString(key string) string {
|
||||||
return cast.ToString(v.Get(key))
|
return cast.ToString(v.Get(key))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns the value associated with the key asa boolean
|
// Returns the value associated with the key as a boolean
|
||||||
func GetBool(key string) bool { return v.GetBool(key) }
|
func GetBool(key string) bool { return v.GetBool(key) }
|
||||||
func (v *Viper) GetBool(key string) bool {
|
func (v *Viper) GetBool(key string) bool {
|
||||||
return cast.ToBool(v.Get(key))
|
return cast.ToBool(v.Get(key))
|
||||||
|
|
Loading…
Reference in a new issue