concurrentMap()WARNING: DATA RACEconcurrent map read and map write
concurrentStruct()
why the struct can DATA RACE?
package main
import (
"sync"
)
func main() {
// concurrentMap()
concurrentStruct()
// concurrentStructWithMuLock()
}
type Metadata struct {
mu sync.RWMutex //