commit | 45b73b72adfb3137795cd0d51df58de933fcae9b | [log] [tgz] |
---|---|---|
author | Tony Narlock <tony@git-pull.com> | Mon Mar 07 02:07:42 2016 -0600 |
committer | Anthony Fok <foka@debian.org> | Wed Apr 20 21:43:24 2016 +0800 |
tree | d998fde4e62e8734e8674df9bddc8f2aa950b78e | |
parent | c975dc1b4eacf4ec7fdbf0873638de5d090ba323 [diff] |
Fix typo
diff --git a/viper.go b/viper.go index 7a49a0a..70f8d03 100644 --- a/viper.go +++ b/viper.go
@@ -540,7 +540,7 @@ 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))