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
This package:
package p import "embed" //go:embed * var fs embed.FS var s string
gets gofumpted to
gofumpt
package p import "embed" //go:embed * var ( fs embed.FS s string )
which no longer compiles (./embed.go:5:3: misplaced go:embed directive) since the comment directive is moved above the variable group.
./embed.go:5:3: misplaced go:embed directive
The text was updated successfully, but these errors were encountered:
Thanks, definitely sounds like a bug.
Sorry, something went wrong.
15b0609
No branches or pull requests
This package:
gets
gofumpt
ed towhich no longer compiles (
./embed.go:5:3: misplaced go:embed directive
) since the comment directive is moved above the variable group.The text was updated successfully, but these errors were encountered: