Sets batch sets key-values to the hash map.
(data map[string]string)
| 90 | |
| 91 | // Sets batch sets key-values to the hash map. |
| 92 | func (m *StrStrMap) Sets(data map[string]string) { |
| 93 | m.lazyInit() |
| 94 | m.KVMap.Sets(data) |
| 95 | } |
| 96 | |
| 97 | // Search searches the map with given `key`. |
| 98 | // Second return parameter `found` is true if key was found, otherwise false. |