3 ms·
Just use an editor that has goimports hooked up to run on save.
by nuggien 9y ago
Just use an editor that has goimports hooked up to run on save.
- johansch 9y agoOr pick a language where you don't have to jump through arbitrary hoops.
- nuggien 9y agodepends on which editor you use, but i'd say there's a high chance it has a go package that has all this configured for you. In any case, every language has a hoop to jump through. Good luck finding one without.