(key 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)) |
| 794 | } |
| 795 | |
| 796 | // GetBool returns the value associated with the key as a boolean. |
| 797 | func GetBool(key string) bool { return v.GetBool(key) } |