Map returns the underlying data map. Note that, if it's in concurrent-safe usage, it returns a copy of underlying data, or else a pointer to the underlying data.
()
| 59 | // Note that, if it's in concurrent-safe usage, it returns a copy of underlying data, |
| 60 | // or else a pointer to the underlying data. |
| 61 | func (m *StrStrMap) Map() map[string]string { |
| 62 | m.lazyInit() |
| 63 | return m.KVMap.Map() |
| 64 | } |
| 65 | |
| 66 | // MapStrAny returns a copy of the underlying data of the map as map[string]any. |
| 67 | func (m *StrStrMap) MapStrAny() map[string]any { |