diff options
author | Oleksandr Redko <oleksandr.red+github@gmail.com> | 2023-02-11 09:35:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-11 15:35:15 +0800 |
commit | 934f04e33096b7884d96135d44f2879a82e54a94 (patch) | |
tree | 98cd897d8d434aee3c5a95046f9f02ebfcb3721d /lbclient.go | |
parent | Rename unexported funcs, vars to match common Go (#1488) (diff) | |
download | fasthttp-934f04e33096b7884d96135d44f2879a82e54a94.tar.gz fasthttp-934f04e33096b7884d96135d44f2879a82e54a94.tar.bz2 fasthttp-934f04e33096b7884d96135d44f2879a82e54a94.zip |
Refactor golangci-lint config and remove redundant nolints (#1486)
* Refactor golangci-lint config
- Use golangci-lint-action for GitHub workflow.
- Add additional golangci-lint run options.
- Remove unused nolint directives.
* Revert exclude-use-default option
Diffstat (limited to 'lbclient.go')
-rw-r--r-- | lbclient.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lbclient.go b/lbclient.go index 34ff719..b18b32c 100644 --- a/lbclient.go +++ b/lbclient.go @@ -25,7 +25,7 @@ type BalancingClient interface { // // It is safe calling LBClient methods from concurrently running goroutines. type LBClient struct { - noCopy noCopy //nolint:unused,structcheck + noCopy noCopy // Clients must contain non-zero clients list. // Incoming requests are balanced among these clients. |