When two goroutines go to war, a data race is all that you can score. To prevent that, Go’s sync.Mutex type can help.
All tagged race detector
When two goroutines go to war, a data race is all that you can score. To prevent that, Go’s sync.Mutex type can help.