Closed josharian closed 2 years ago
Hi @josharian it does already programmatically run imports.Process from the golang.org/x/tools/imports package.
And I have a TODO In the code to remove that noisy comment you are referencing, but I am slightly worried about corner cases, which is why I haven’t removed it yet.
That said, no time like the present.
A general comment is thank you again for taking the time to file these quick issues based on your first impressions… Hopefully it will help smooth things out for others…
Hi @josharian, I am going to take the liberty of retitling this to be about the effectively misleading or at least not very useful comment.
The comment should be eliminated with PR #16.
Thanks again!
It's easy enough to run goimports programatically (it's exposed as a package, not just an executable), so fzgen should just do it, rather than: