From 0def2189a81eb90a30e1e6a78dec33af864ba47b Mon Sep 17 00:00:00 2001 From: jackspirou Date: Thu, 30 Jul 2015 15:43:18 -0500 Subject: [PATCH] typo: slice type needed --- viper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viper.go b/viper.go index 7087b30..11a1894 100644 --- a/viper.go +++ b/viper.go @@ -456,7 +456,7 @@ func (v *Viper) GetStringMapString(key string) map[string]string { } // Returns the value associated with the key as a map to a slice of strings -func GetStringMapStringSlice(key string) map[string]string { return v.GetStringMapStringSlice(key) } +func GetStringMapStringSlice(key string) map[string][]string { return v.GetStringMapStringSlice(key) } func (v *Viper) GetStringMapStringSlice(key string) map[string]string { return cast.ToStringMapStringSlice(v.Get(key)) }