24 ms·
Look up the vscode-go extension. It adds/removes unused imports automatically and thus removes most of the friction. Regarding unused variables, the only solut
by jxub 8y ago
Look up the vscode-go extension. It adds/removes unused imports automatically and thus removes most of the friction.
Regarding unused variables, the only solutions I am aware of involve renaming to underscore, commenting out or passing to a function like fmt.Println.
- Xeoncross 8y agoAtom IDE, vim, and just about anything that uses goimports, gocode, and the other packages works great.