You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 withgo someFunc()
. In the case wheresomefunc
might return an error, I getError 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.The text was updated successfully, but these errors were encountered: