Skip to content

Glossary: Go Beyond the Basics

go test / go vet

Also written: go test -v, go vet

`go test` runs your tests, and `-v` lists each test and subtest. `go vet` checks code for likely mistakes, such as copying a mutex or ignoring a `cancel` function.

Where the book teaches it

Related terms

race detectorsubtest