Go · Command
go vet
go vet examines Go source code for suspicious constructs that compilers may not catch. It reports possible problems, but its results are guidance rather than proof that code is correct.
Last updated
Syntax
go vet [packages]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
go commandgo help packagesgo tool vet helpprintf checkcopylocks checkatomic checkerrorsas check