-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Example of ignoring functions outside standard library #139
Comments
hm, maybe it would be useful if there was a flag for also printing the function name alongside the line so that it was easier to make the excludes. |
Ah it looks like I can get the full function name with
I understand what's going on here but it doesn't seem very easy to discover. |
I have a similar issue with that. The |
Fix #139: Add example of excluding a call to a vendored dependency
What if I am using go modules rather than vendored dependencies? |
I am attempting to add the function "Println" in the package github.com/kr/pretty to my errcheck ignore file. However, none of the following lines result in the error being excluded:
The command I'm using is (and I can successfully ignore other functions inside the standard library):
The error I see is:
The function signature is:
The text was updated successfully, but these errors were encountered: