I have a fairly simple Go code that has data races and -race can catch them. However, I can not find where SonarQube does any race detection and analysis.
Is it possible to detect races in Go with SonarQube?
The code:
package main
var balance = 10000
func main() {
for i:=0; i<10000; i++ {
go func() {
balance--
}()
}
}