Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
alainx277
· 2y ago · 0 comments
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.
Comments
[–]
cwbriscoe
2y ago
goimports re-adds them when you uncomment the code. Unless it is ambiguous on which lib to import which doesn't happen very often.