Re:I Love Go; I Hate Go
by PopsiclePete on Tuesday August 02, 2016 @11:06AM
(#12210468)
There's at least one tool to help with that, maybe even more. I have never, not once, manually removed an unused import in the last year of Go programming.
Basically, as soon as I save my file, it gets formatted, linted, unused imports are removed, the project is then compiled and unit tests are ran. I couldn't be happier.
Basically, as soon as I save my file, it gets formatted, linted, unused imports are removed, the project is then compiled and unit tests are ran. I couldn't be happier.