Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/cmd/goimports: import grouping depends on which imports were already there #19190
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
I explained what was the problem and how I fixed it in cl/37552, but the fix is a bit heuristic... It works better for most cases though.
cl/37552 works good as far as I know and the change is small, but I welcome better solution if you find more elegant solution.