x/tools/cmd/goimports: adds flag control to delete extra blank lines before grouping #43193
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
use goimports to format file.
current:
What did you expect to see?
Blank lines cause incorrect grouping. These blank lines are automatically generated by IDE.
What did you see instead?
Delete extra blank lines and regroup:
The text was updated successfully, but these errors were encountered: