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
Thanks for reporting this! I allowed io.EOF from (io.ReadCloser).Read.
The second example is a bit trickier as the allow-list works based on the name of the type. And since MyReader is a custom type it is not known by the allow-list. A solution would involve checking whether the source function implements one of the allowed interfaces, but I have not attempted that yet.
However, this can be solved somehow with the whitelisting that follows interface embedding
Example:
Both raise
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error
The text was updated successfully, but these errors were encountered: