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
{{ message }}
This repository was archived by the owner on Nov 10, 2025. It is now read-only.
The logic of the code is crappy, that's not the point 😁
Here is what errorlint suggests:
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
if syntaxErr, ok := err.(*xml.SyntaxError); ok && syntaxErr.Msg != "unexpected EOF" {
And it's OK
What is not is what the code is replaced when using --fix