This commit is contained in:
Tony Narlock 2016-03-07 02:07:42 -06:00 committed by Anthony Fok
parent c975dc1b4e
commit 45b73b72ad
1 changed files with 1 additions and 1 deletions

View File

@ -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))