|
|
|
|
|
by cwbriscoe
896 days ago
|
|
If you use goimports (which also runs gofmt) after commenting out code, you just have to save your file and it will remove any unused imports. There is no reason to go to the extreme extent of compiling your own modified version of go just for this. The tooling is already there. |
|