(key string)
| 881 | func GetIntSlice(key string) []int { return v.GetIntSlice(key) } |
| 882 | |
| 883 | func (v *Viper) GetIntSlice(key string) []int { |
| 884 | return cast.ToIntSlice(v.Get(key)) |
| 885 | } |
| 886 | |
| 887 | // GetStringSlice returns the value associated with the key as a slice of strings. |
| 888 | func GetStringSlice(key string) []string { return v.GetStringSlice(key) } |