Commit 142a2ce
authored
feat: ignore Go 1.20 errors.Join() sig by default (#37)
After upgrading to Go 1.20 and using the new `errors.Join()` from the
standard library, there is a false positive from `wrapcheck` saying that
error returned from external package is unwrapped, when `errors.Join()`
is now supposed to be an idiomatic way to wrap multiple errors from
external packages.
More info in the Go 1.20 release notes:
https://tip.golang.org/doc/go1.20#errors1 parent 36ebab6 commit 142a2ce
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments