Do gofmt and goimports now do the same when sorting imports?

I’m using GoLand and I don’t see any difference between both options. I’ve seen that they used to work differently, do they now do the same non-sorted and grouped by source result?

What do expect? What happens? Why do you think this is wrong?

I only want to understand how they differ. Some online resources say they sort (and group) imports differently, but on my side no resorting happens at all. It’s 1.9.2 go, so may be the way new gofmt treats imports has changed. Trying to clarify

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.