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

fix minor issues reported by linter #10

Closed tariq1890 closed 4 years ago

tariq1890 commented 4 years ago

Fix the following issues:

errwrap/errwrap.go:208:2: `pos` is unused (structcheck)
        pos      int    // index of the verb in the format string
        ^
errwrap/errwrap.go:180:3: S1023: redundant `return` statement (gosimple)
                return
                ^