Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

CoverRace

This is a simple demonstration of the perils of running go test -cover -race, i.e. the Go cover tool with the Go race detector at the same time. The lesson is to always also add the -covermode=atomic flag, like this: go test -cover -covermode=atomic -race.

For a full explanation, refer to the blog post on http://herman.asia

About

A simple demonstration of the perils of using -cover and -race together

Resources

Releases

No releases published

Packages

No packages published

Languages