powRSS
Home Recent Glimpses Shuffle Blogs Random

Fri Jul 08

vknabel

4y
You can run your Go program or your tests with the Data Race detection enabled. This might cost some performance and memory, but in case a data race is being detected, that’s worth it! Perfect for your CI! go run --race ./cmd/app go test --race ./...