-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
format: decl group allow first comment #214
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if the comment was actually a directive, like:
//go:embed hello.txt
var embedded string
var foo int
var bar float
Presumably this would break the directive, but I haven't checked:
//go:embed hello.txt
var (
embedded string
foo int
bar float
)
dad8329
to
6e1ed83
Compare
thanks, PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests SGTM, just some thoughts about the code
6e1ed83
to
51b71fc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
fixes #212