فهرست منبع

fix golangci lint config (#4698)

fatedier 3 ماه پیش
والد
کامیت
9757a351c6
3فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 1 1
      .circleci/config.yml
  2. 2 1
      .golangci.yml
  3. 1 1
      go.mod

+ 1 - 1
.circleci/config.yml

@@ -2,7 +2,7 @@ version: 2
 jobs:
   go-version-latest:
     docker:
-    - image: cimg/go:1.22-node
+    - image: cimg/go:1.23-node
     resource_class: large
     steps:
     - checkout

+ 2 - 1
.golangci.yml

@@ -48,7 +48,8 @@ linters-settings:
     check-blank: false
   govet:
     # report about shadowed variables
-    check-shadowing: false
+    disable:
+    - shadow
   maligned:
     # print struct with more effective memory layout or not, false by default
     suggest-new: true

+ 1 - 1
go.mod

@@ -1,6 +1,6 @@
 module github.com/fatedier/frp
 
-go 1.22.0
+go 1.23.0
 
 require (
 	github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5