You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using x/tools/goimports does not have a consistent way of grouping imports when newlines are there. For instance, both of these files will not be changed by goimports:
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you do?
Using
x/tools/goimports
does not have a consistent way of grouping imports when newlines are there. For instance, both of these files will not be changed bygoimports
:What did you expect to see?
I would expect the second one to be formatted like the first one.
The text was updated successfully, but these errors were encountered: