3 ms·
> Then write a two line function that wraps your native golang typed mapped with sync.Mutex and be done with it. Two lines? I think you underestimate what's go
by ngrilly 9y ago
> Then write a two line function that wraps your native golang typed mapped with sync.Mutex and be done with it.
Two lines? I think you underestimate what's going on in sync.Map: https://github.com/golang/go/blob/master/src/sync/map.go https://github.com/golang/go/blob/master/src/sync/map.go