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

What difference from go-errorlint? #14

Closed
Antonboom opened this issue Aug 14, 2021 · 1 comment
Closed

What difference from go-errorlint? #14

Antonboom opened this issue Aug 14, 2021 · 1 comment

Comments

@Antonboom
Copy link

Hello!

go-errorlint is more popular linter, because it's a part of golangci-lint.

And it has functionality to detect %w:
https://github.com/polyfloyd/go-errorlint#fmterrorf-wrapping-verb

:(

@fatih
Copy link
Owner

fatih commented Aug 16, 2021

errwrap also rewrites and fixes your code. I'm not sure go-errorlint is able to do. I don't know if there is any other difference. Thanks for opening :)

@fatih fatih closed this as completed Aug 16, 2021
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

2 participants