Hacker News new | ask | show | jobs
by alainx277 897 days ago
The OP mentions that the reimport is the problem (in response to your tooling suggestion). If you comment out code while testing the imports are auto-removed. When you uncomment you need add the correct imports again.
1 comments

goimports re-adds them when you uncomment the code. Unless it is ambiguous on which lib to import which doesn't happen very often.