Closed Antonboom closed 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
%w
:(
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 :)
errwrap
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:(