Re:Go hits the concurrency nail on the head
by anonacct37 on Thursday October 04, 2018 @05:33PM
(#18143867)
Also there's a "best effort" concurrent map access detector that runs even when you don't compile with race detector support enabled.
While it can't guarantee correctness outside of runtime (and even then, obviously only if whatever you are running actually triggers the race), a race detector has been part of the Go core since 2012[1].
[1]: https://blog.golang.org/race-detector