mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
fix golangci lint config (#4698)
This commit is contained in:
parent
1e8db66743
commit
9757a351c6
3 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
2
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue