cmd/vet
Official docs for `go vet` analyzers that catch suspicious constructs before they ship.
Official docs for go vet analyzers that catch suspicious constructs before they ship.
- Author: Go Team
- Authority: primary
- Kind: package-doc
- URL: https://pkg.go.dev/cmd/vet
What it covers
- vet usage
- available analyzers
- static analysis workflow
Why authoritative
Official package documentation for the standard Go vet tool.
Use when
- when should I run go vet
- what does go vet catch in Go
- which static analysis checks are official in Go
Keywords
- go vet, linters, static analysis, suspicious code, analysis