diff options
author | Aliaksandr Valialkin <valyala@gmail.com> | 2015-11-22 04:33:57 +0200 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2015-11-22 04:33:57 +0200 |
commit | 96b9f2cd84336a9d3c96c10caf820966992801e8 (patch) | |
tree | 9f4eb4aafab821c56cb27edfddd7fc41c77a8055 /header_timing_test.go | |
parent | Properly keep request start time in acquireByteReader (diff) | |
download | fasthttp-96b9f2cd84336a9d3c96c10caf820966992801e8.tar.gz fasthttp-96b9f2cd84336a9d3c96c10caf820966992801e8.tar.bz2 fasthttp-96b9f2cd84336a9d3c96c10caf820966992801e8.zip |
gofmt
Diffstat (limited to 'header_timing_test.go')
-rw-r--r-- | header_timing_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/header_timing_test.go b/header_timing_test.go index 9bc6c5c..6b5c33a 100644 --- a/header_timing_test.go +++ b/header_timing_test.go @@ -59,7 +59,7 @@ func BenchmarkResponseHeaderRead(b *testing.B) { } func BenchmarkRequestHeaderWrite(b *testing.B) { - b.RunParallel(func (pb *testing.PB) { + b.RunParallel(func(pb *testing.PB) { var h RequestHeader h.SetRequestURI("/foo/bar") h.SetHost("foobar.com") @@ -76,7 +76,7 @@ func BenchmarkRequestHeaderWrite(b *testing.B) { } func BenchmarkResponseHeaderWrite(b *testing.B) { - b.RunParallel(func (pb *testing.PB) { + b.RunParallel(func(pb *testing.PB) { var h ResponseHeader h.SetStatusCode(200) h.SetContentType("text/html") |