dear linter, using xerrors is what we want to do.

This commit is contained in:
vyzo 2022-04-21 20:10:34 +03:00
parent 48ffb15901
commit 1c8880ed2c

View File

@ -39,6 +39,7 @@ issues:
- "package comment should be of the form"
- "Potential hardcoded credentials"
- "Use of weak random number generator"
- "xerrors.* is deprecated"
exclude-use-default: false
exclude-rules:
@ -53,7 +54,7 @@ issues:
- path: build/params_.*\.go
linters:
- golint
- path: api/apistruct/struct.go
linters:
- golint