-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/vet: add logf to the printf check #8504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Vet has a -printfuncs flag to control the full list of names that it'll check. There's no end of function names that could be checked. Up to Rob. Labels changed: added repo-tools. Owner changed to @robpike. |
Is it just me? $ go vet $ go vet -printfuncs=Log:0,Logf:0 flag provided but not defined: -printfuncs usage: vet [-n] [-x] [packages] Vet runs the Go vet command on the packages named by the import paths. For more about vet, see 'godoc code.google.com/p/go.tools/cmd/vet'. For more about specifying packages, see 'go help packages'. To run the vet tool with specific options, run 'go tool vet'. The -n flag prints commands that would be executed. The -x flag prints commands as they are executed. See also: go fmt, go fix. $ go version go version go1.3.1 linux/amd64 $ |
CL https://golang.org/cl/130490043 mentions this issue. |
This issue was closed by revision golang/tools@cd9959d. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: