forked from mirror/viper
Fix typo
This commit is contained in:
parent
c975dc1b4e
commit
45b73b72ad
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 New Issue