[VOL-5374] Upgrade go version to v1.23
Change-Id: I11655451672cc7bae9cc92cddcaa563ac50d7de4
Signed-off-by: Akash Reddy Kankanala <akash.kankanala@radisys.com>
diff --git a/.golangci.yml b/.golangci.yml
index 36badd9..a19251f 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -15,7 +15,6 @@
linters-settings:
govet:
- check-shadowing: true
settings:
printf:
funcs:
@@ -24,6 +23,7 @@
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
enable:
+ - shadow
- fieldalignment
golint:
@@ -68,5 +68,11 @@
prepare:
- echo "here I can run custom commands, but no preparation needed for this repo"
issues:
- exclude:
- - 'G114: Use of net/http serve function that has no support for setting timeouts'
+ exclude:
+ - 'G114: Use of net/http serve function that has no support for setting timeouts'
+ - 'G115: integer overflow conversion'
+ exclude-rules:
+ - path: ".*_test.go"
+ linters:
+ - govet
+ - fieldalignment
\ No newline at end of file