fatih / errwrap

Go tool to wrap and fix errors with the new %w verb directive
https://arslan.io
Other
371 stars 16 forks source link

What difference from go-errorlint? #14

Closed Antonboom closed 3 years ago

Antonboom commented 3 years ago

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 commented 3 years ago

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 :)