Browse Source

fix golangci lint config (#4698)

pull/4699/head
fatedier 5 months ago
committed by GitHub
parent
commit
9757a351c6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      .circleci/config.yml
  2. 3
      .golangci.yml
  3. 2
      go.mod

2
.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

3
.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

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…
Cancel
Save