From 1c8880ed2c8d7ef265cb28f77d4f91cb1a96a432 Mon Sep 17 00:00:00 2001 From: vyzo Date: Thu, 21 Apr 2022 20:10:34 +0300 Subject: [PATCH] dear linter, using xerrors is what we want to do. --- .golangci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 8347df205..f73241217 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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