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
We open a file and defer to Close it.
We typically don't check the Close error, because we are lazy.
Is there some way that goderive can make sure we Close even with panics, like defer, and still check the error and return the results from our operation on the file.
We open a file and defer to Close it.
We typically don't check the Close error, because we are lazy.
Is there some way that goderive can make sure we Close even with panics, like defer, and still check the error and return the results from our operation on the file.
This shows some examples
https://github.com/mpvl/errd
The text was updated successfully, but these errors were encountered: