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 c7fdfb00bb
commit 65df0b81d9

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