aboutsummaryrefslogtreecommitdiff
path: root/fasthttpadaptor
diff options
context:
space:
mode:
authorGravatar Oleksandr Redko <oleksandr.red+github@gmail.com> 2023-02-11 09:35:15 +0200
committerGravatar GitHub <noreply@github.com> 2023-02-11 15:35:15 +0800
commit934f04e33096b7884d96135d44f2879a82e54a94 (patch)
tree98cd897d8d434aee3c5a95046f9f02ebfcb3721d /fasthttpadaptor
parentRename unexported funcs, vars to match common Go (#1488) (diff)
downloadfasthttp-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 'fasthttpadaptor')
-rw-r--r--fasthttpadaptor/adaptor_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fasthttpadaptor/adaptor_test.go b/fasthttpadaptor/adaptor_test.go
index 23e2801..a8a1ae8 100644
--- a/fasthttpadaptor/adaptor_test.go
+++ b/fasthttpadaptor/adaptor_test.go
@@ -102,7 +102,7 @@ func TestNewFastHTTPHandler(t *testing.T) {
req.Header.SetMethod(expectedMethod)
req.SetRequestURI(expectedRequestURI)
req.Header.SetHost(expectedHost)
- req.BodyWriter().Write([]byte(expectedBody)) // nolint:errcheck
+ req.BodyWriter().Write([]byte(expectedBody)) //nolint:errcheck
for k, v := range expectedHeader {
req.Header.Set(k, v)
}