gordonklaus / ineffassign

Detect ineffectual assignments in Go code.
MIT License
394 stars 22 forks source link

Option (or default) to not recursively check all directories #2

Closed alecthomas closed 9 years ago

alecthomas commented 9 years ago

This is very slow with vendored source trees, and can be easily replicated with find . -type d | xargs ineffassign. It also makes integrating the tool into an editor likely to be much slower.

Most Go tools allow both: <dir> will check just that dir and <dir>/... will recursively check all dirs underneath. This would be ideal.