Map

Go map and concurrency security issues

It is not safe for code in different goroutines to read and write to the same map at the same time. The map value itself may be confused by these operations, and related programs may also have unpredictable problems.