Re:Go Things I Love: Channels and Goroutines
by irq-1 on Tuesday January 07, 2020 @11:13AM
(#21981319)
They added sync.Map
> Map is like a Go map[interface{}]interface{} but is safe for concurrent use by multiple goroutines without additional locking or coordination. Loads, stores, and deletes run in amortized constant time.
> Map is like a Go map[interface{}]interface{} but is safe for concurrent use by multiple goroutines without additional locking or coordination. Loads, stores, and deletes run in amortized constant time.
https://golang.org/pkg/sync/#Map