This commit is contained in:
Tony Narlock 2016-03-07 02:07:42 -06:00
parent c975dc1b4e
commit 06cf89abd0

View file

@ -540,7 +540,7 @@ func (v *Viper) GetString(key string) string {
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 (v *Viper) GetBool(key string) bool {
return cast.ToBool(v.Get(key))