diff options
author | Oleksandr Redko <Oleksandr_Redko@epam.com> | 2023-11-24 12:33:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-24 11:33:04 +0100 |
commit | f196617f5598f05df49f2c15ffde70a9d908f292 (patch) | |
tree | 17029edd8643ee9c4026d188c5ce5edfe93b1141 /fasthttpadaptor | |
parent | Enable wastedassign, whitespace linters; fix issues (#1665) (diff) | |
download | fasthttp-f196617f5598f05df49f2c15ffde70a9d908f292.tar.gz fasthttp-f196617f5598f05df49f2c15ffde70a9d908f292.tar.bz2 fasthttp-f196617f5598f05df49f2c15ffde70a9d908f292.zip |
chore: Use 'any' instead of 'interface{}' (#1666)
gofmt -w -r "interface{} -> any" -l .
Diffstat (limited to 'fasthttpadaptor')
-rw-r--r-- | fasthttpadaptor/adaptor_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fasthttpadaptor/adaptor_test.go b/fasthttpadaptor/adaptor_test.go index a8a1ae8..9f03858 100644 --- a/fasthttpadaptor/adaptor_test.go +++ b/fasthttpadaptor/adaptor_test.go @@ -137,7 +137,7 @@ func TestNewFastHTTPHandler(t *testing.T) { } } -func setContextValueMiddleware(next fasthttp.RequestHandler, key string, value interface{}) fasthttp.RequestHandler { +func setContextValueMiddleware(next fasthttp.RequestHandler, key string, value any) fasthttp.RequestHandler { return func(ctx *fasthttp.RequestCtx) { ctx.SetUserValue(key, value) next(ctx) |