GetString returns the value associated with the key as a string.
(key string)
| 788 | |
| 789 | // GetString returns the value associated with the key as a string. |
| 790 | func GetString(key string) string { return v.GetString(key) } |
| 791 | |
| 792 | func (v *Viper) GetString(key string) string { |
| 793 | return cast.ToString(v.Get(key)) |