We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I ran into a likely false positive from go vet when writing a program that auto-generates code.
go vet
This program generates a warning +build comment must appear before package clause and be followed by a blank line
+build comment must appear before package clause and be followed by a blank line
This equivalent program without the // autogenerated by... comment in the first line doesn't
// autogenerated by...
In either case, i don't think go vet should be vetting contents of the string,
The text was updated successfully, but these errors were encountered:
Unfortunate.
The algorithm it uses is very simple, but is fooled by this corner case. Not worth the trouble to fix.
Sorry, something went wrong.
No branches or pull requests
I ran into a likely false positive from
go vet
when writing a program that auto-generates code.This program generates a warning
+build comment must appear before package clause and be followed by a blank line
This equivalent program without the
// autogenerated by...
comment in the first line doesn'tIn either case, i don't think
go vet
should be vetting contents of the string,The text was updated successfully, but these errors were encountered: