Last 12 weeks · 0 commits
2 of 6 standards met
Overview Hi @fatih, Thank you for providing this linter. It has already helped catch several cases where I did not use the error-wrapping directive in my projects. It did however flag one case that may be a false-positive. I have a project that is still using Go 1.19 and the linter identifies what it believes to be a missing use of , but I already have one such usage in place. I understand that this syntax would be valid in Go 1.20, but since the project README indicates that the linter supports Go 1.16 and newer I'm reporting this as a potential problem. Short version (before following linter advice): Linter output: Reproducible example Code after following linter advice: code example Results If I follow the linter's advice, this is what I get when running the code: Linter version details
Repository: fatih/errwrap. Description: Go tool to wrap and fix errors with the new %w verb directive Stars: 381, Forks: 16. Primary language: Go. Languages: Go (100%). Homepage: https://arslan.io Topics: analyzer, errwrap, go, golang, tools. Latest release: v1.7.0 (11mo ago). Open PRs: 0, open issues: 1. Last activity: 11mo ago. Community health: 42%. Top contributors: fatih, dnwe, tariq1890, atc0005, asfaltboy, reillywatson, ferhatelmas.
Go
Updated dependencies fixes https://github.com/fatih/errwrap/issues/24. I was seeing bizarre internal errors.