Set replaces the values associated with key. The key is case-sensitive.
(key string, values ...string)
| 42 | |
| 43 | // Set replaces the values associated with key. The key is case-sensitive. |
| 44 | func (ms iniMultiSet) Set(key string, values ...string) { |
| 45 | ms[key] = make([]string, len(values)) |
| 46 | copy(ms[key], values) |
| 47 | } |
| 48 | |
| 49 | // Values returns all values associated with the given key. |
| 50 | // The key is case-sensitive. The returned slice is not a copy. |
no outgoing calls