81
// GetOrSetNew looks up k in m and returns the result. If it's not present, it uses `new` to
82
// allocate an new value type and sets that in the map, then returns it.
84
>
if v, ok := m[k]; ok {
85
return v
86
}
88
>
m[k] = v
89
>
return v
90
}
91