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.
Glossary: Go Beyond the Basics
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.