From 7fdad0204e0e1c63db2813b0882ebe61722e2e79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rk=20S=C3=A1gi-Kaz=C3=A1r?= Date: Sat, 13 Jul 2019 11:57:28 +0200 Subject: [PATCH] Fix typo --- viper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viper.go b/viper.go index 881bf0c..859a86f 100644 --- a/viper.go +++ b/viper.go @@ -797,7 +797,7 @@ func (v *Viper) GetDuration(key string) time.Duration { return cast.ToDuration(v.Get(key)) } -// GetIntSlice returns the value associated with the key as a slice of strings. +// GetIntSlice returns the value associated with the key as a slice of int values. func GetIntSlice(key string) []int { return v.GetIntSlice(key) } func (v *Viper) GetIntSlice(key string) []int { return cast.ToIntSlice(v.Get(key))