mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #2853] [CLOSED] Golangci-lint integration #4641
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#4641
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fatedier/frp/pull/2853
Author: @dzyanis
Created: 3/17/2022
Status: ❌ Closed
Base:
dev← Head:golangci-lint📝 Commits (9)
7abbf51add golangci-lint config70fb6d3fix gocritic linter warnings18c38d1fixed govet issues8e69e24fixed gofmt issue74e2878fix forgotten close body0026a99fixed misspellings2cc3b11improve goimport formatb229af9fixed ineffectual assignmentcf65e85fixed errors formatting📊 Changes
79 files changed (+386 additions, -258 deletions)
View changed files
📝
.gitignore(+1 -0)➕
.golangci.yml(+118 -0)📝
client/admin.go(+2 -2)📝
client/control.go(+7 -6)📝
client/proxy/proxy.go(+11 -11)📝
client/proxy/proxy_manager.go(+4 -6)📝
client/proxy/proxy_wrapper.go(+2 -2)📝
client/service.go(+4 -4)📝
client/visitor.go(+11 -11)📝
client/visitor_manager.go(+2 -4)📝
cmd/frpc/main.go(+2 -2)📝
cmd/frpc/sub/http.go(+2 -2)📝
cmd/frpc/sub/reload.go(+2 -2)📝
cmd/frpc/sub/root.go(+8 -6)📝
cmd/frpc/sub/status.go(+3 -3)📝
cmd/frpc/sub/stcp.go(+2 -2)📝
cmd/frpc/sub/sudp.go(+2 -2)📝
cmd/frpc/sub/udp.go(+2 -2)📝
cmd/frpc/sub/verify.go(+2 -2)📝
cmd/frpc/sub/xtcp.go(+2 -2)...and 59 more files
📄 Description
I'd recommend to integrate golangci-lint and then enable linters one by one
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.