fix golangci lint config (#4698)

This commit is contained in:
fatedier 2025-03-07 16:56:08 +08:00 committed by GitHub
parent 1e8db66743
commit 9757a351c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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

2
go.mod
View File

@ -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