Skip to content
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

Ignoring concurrent calls of functions that return an error #242

Open
zeddo123 opened this issue Feb 22, 2024 · 0 comments
Open

Ignoring concurrent calls of functions that return an error #242

zeddo123 opened this issue Feb 22, 2024 · 0 comments

Comments

@zeddo123
Copy link

Hi,

I've been looking around, and I've found a way to ignore errcheck's error when calling a function (that returns an error) concurrently with go someFunc(). In the case where somefunc might return an error, I get Error return value not checked. Although I understand that this behaviour might be useful in some cases, sometimes it would force me to wrap the call in an anonymous function just to ignore the result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant