// vet is the entrypoint of this executable when ENTRYPOINT=vet. // Keep consistent with the actual vet in GOROOT/src/cmd/vet/main.go. func vet() { … } // TestVetStdlib runs the same analyzers as the actual vet over the // standard library, using go vet and unitchecker, to ensure that // there are no findings. func TestVetStdlib(t *testing.T) { … }