From 350ab150633a5c666d7ee2b7f216f7606f9b2634 Mon Sep 17 00:00:00 2001 From: sapcc-bot Date: Fri, 13 Oct 2023 12:52:06 +0000 Subject: [PATCH] Run go-makefile-maker --- .golangci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index 94def85d..57f415cf 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -39,8 +39,8 @@ linters-settings: - ^ioutil\..*$ # Using http.DefaultServeMux is discouraged because it's a global variable that some packages silently and magically add handlers to (esp. net/http/pprof). # Applications wishing to use http.ServeMux should obtain local instances through http.NewServeMux() instead of using the global default instance. - - ^http.DefaultServeMux$ - - ^http.Handle(?:Func)?$ + - ^http\.DefaultServeMux$ + - ^http\.Handle(?:Func)?$ gocritic: enabled-checks: - boolExprSimplify