From 90830e15fcb6a1b71d97513312f5b67e5195272a Mon Sep 17 00:00:00 2001 From: Osamu TONOMORI Date: Tue, 2 May 2023 01:03:03 +0900 Subject: [PATCH] Ignore gochecknoglobals only in case `ErrTimeout` variable --- errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errors.go b/errors.go index f6192cd..e02c487 100644 --- a/errors.go +++ b/errors.go @@ -21,5 +21,5 @@ var ( // ErrInternalServerError is an error value that will be returned when some error occurs in the kenall service. ErrInternalServerError = errors.New("kenall: 500 internal server error") // ErrTimeout is an error value that will be returned when the request is timeout. - ErrTimeout = func(err error) error { return fmt.Errorf("kenall: request timeout: %w", err) } + ErrTimeout = func(err error) error { return fmt.Errorf("kenall: request timeout: %w", err) } //nolint: gochecknoglobals )