x/tools/cmd/eg: clean imports after refactoring #21328
Labels
Refactoring
Issues related to refactoring tools
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
tl;dr: While new imports are correctly added by the refactoring, imports that are made obsolete still exist unnecessarily (and therefore break compilation). We need to run something like
goimports
after performing the eg transformation.What version of Go are you using (
go version
)?go version go1.8.1 darwin/amd64
What operating system and processor architecture are you using (
go env
)?darwin/amd64
What did you do?
What did you expect to see?
The
import
section for the result should only containerrors
.What did you see instead?
The
import
section containederrors
, but alsofmt
unnecessarily.The text was updated successfully, but these errors were encountered: