x/tools/internal/imports: Grouping when using -local flag groups into more groups than expected #47440
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?
Started with imports, grouped like this:
Added a new module import, which my IDE added to the middle group, so it looked like this
Then ran
goimports -w -local github.com/mymodule main.go
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: