diff --git a/doc/articles/race_detector.html b/doc/articles/race_detector.html index 30458ef0d6..5c649f6691 100644 --- a/doc/articles/race_detector.html +++ b/doc/articles/race_detector.html @@ -142,7 +142,7 @@ $ GORACE="log_path=/tmp/race/report strip_path_prefix=/my/go/sources/" go test -

When you build with -race flag, the go command defines additional -build tag race. +build tag race. You can use the tag to exclude some code and tests when running the race detector. Some examples: