Closed
Description
The Go Playground has a checkbox to enable goimports
-like fixing imports when pressing Format.
It's handy for fixing imports of standard library (fmt, io, bytes, etc.), and I'm used to it. I'd like to see it added to GopherJS Playground to make it better.
Any thoughts? Objections?
Should it be optional like on Go Playground or just always on?
I can volunteer to implement it. I already have implemented it locally, so it's just a matter of cleaning up the code and making a PR.