Fix typo - viper - [fork] go viper port for 9front
(HTM) git clone git@git.drkhsh.at/viper.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 45b73b72adfb3137795cd0d51df58de933fcae9b
(DIR) parent c975dc1b4eacf4ec7fdbf0873638de5d090ba323
(HTM) Author: Tony Narlock <tony@git-pull.com>
Date: Mon, 7 Mar 2016 02:07:42 -0600
Fix typo
Diffstat:
M viper.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/viper.go b/viper.go
@@ -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))