-
-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unused: flag unused arguments #124
Comments
This is an inherently incorrect science, and false positives are likely. I believe this was discarded for |
What mvdan said. |
I know that this issue has been closed for over a year now, and that the official response is "Just use Unused parameters often occur during a refactoring/rapid prototyping. Often, they mask bugs, that will only be discovered at test time (or even production). I would assume that a tool called I don't mean any disrespect towards @mvdan, but I really think this should be a part of |
I'll reconsider it for the rewrite of unused, although I'd be inclined to limit it to unexported functions only. |
@ainar-g 5 linters isn’t a problem: you can use gometalinter or similar tool: it makes running of even dozens of linters easy. And they will run in parallel by these tools. |
Could
unused
flag unused function arguments?e.g.
c.f. etcd-io/etcd#8068
And thanks for the great tool!
The text was updated successfully, but these errors were encountered: