Skip to content

Commit

Permalink
go fmt'd fasthttp files
Browse files Browse the repository at this point in the history
  • Loading branch information
mtoffl01 committed Dec 4, 2023
1 parent dc4132b commit a5d63d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/valyala/fasthttp.v1/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ func Example_withServiceName() {

// Start fasthttp server
fasthttp.ListenAndServe(":8081", fasthttptrace.WrapHandler(fastHTTPHandler, fasthttptrace.WithServiceName("fasthttp-server")))
}
}
4 changes: 2 additions & 2 deletions contrib/valyala/fasthttp.v1/fasthttp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ func startServer(t *testing.T, opts ...Option) string {
return
}
}, opts...)
ln, err := net.Listen("tcp", "127.0.0.1:0")
ln, err := net.Listen("tcp", "127.0.0.1:0")
require.NoError(t, err)

addr := ln.Addr()
server := &fasthttp.Server{
Handler: router,
Expand Down

0 comments on commit a5d63d0

Please sign in to comment.