That's incorrect though. It's impossible to have data races with Go channels. The example the author gives doesn't use them.
That's incorrect though. It's impossible to have data races with Go channels. The example the author gives doesn't use them.