Skip to content

Commit 472ee70

Browse files
committed
dear linter, using xerrors is what we want to do.
1 parent 5fdfe06 commit 472ee70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.golangci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ issues:
3939
- "package comment should be of the form"
4040
- "Potential hardcoded credentials"
4141
- "Use of weak random number generator"
42+
- "xerrors.* is deprecated"
4243

4344
exclude-use-default: false
4445
exclude-rules:
@@ -53,7 +54,7 @@ issues:
5354
- path: build/params_.*\.go
5455
linters:
5556
- golint
56-
57+
5758
- path: api/apistruct/struct.go
5859
linters:
5960
- golint

0 commit comments

Comments
 (0)