92
// GetOrSetMap looks up k in m, a two-level map, and returns the result. If it's not present,
93
// it uses `make` to allocate new second-level map and sets that in the first map, then returns it.
95
>
if m2, ok := m[k]; ok {
96
return m2
97
}
99
>
m[k] = m2
100
>
return m2
101
}
102