We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See https://github.com/tylerb/structcheck-proof for an example of code that will generate this false positive.
The text was updated successfully, but these errors were encountered:
-t
deadcode: New -test option to include test files.
cd01c16
This avoids reporting unused unexported variables that are actually dedicated to test code. Fixes issue #2 Fixes issue #8
Hello, I have fixed this issue in a different way : after refactoring to use the go/loader package, the fix is very much simpler.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
See https://github.com/tylerb/structcheck-proof for an example of code that will generate this false positive.
The text was updated successfully, but these errors were encountered: