String lookups up the value using the provided key and converts the value to a string.
(key string)
| 207 | |
| 208 | // String lookups up the value using the provided key and converts the value to a string. |
| 209 | func (c *Config) String(key string) string { |
| 210 | return c.get(key) |
| 211 | } |
| 212 | |
| 213 | // Strings lookups up the value using the provided key and converts the value to an array of string |
| 214 | // by splitting the string by comma. |