Hacker News new | ask | show | jobs
by agentS 4583 days ago
Note that gofmt sorts within groups. So if you leave spaces between groups of imports, it'll sort them all separately. Presumably, this sort of grouping is the reason it does it this way.