chore: update to go1.19
This commit is contained in:
parent
40d2421db9
commit
45453b20fa
61 changed files with 519 additions and 493 deletions
|
@ -401,7 +401,7 @@ func BenchmarkCompress(b *testing.B) {
|
|||
})
|
||||
handler, _ := New(context.Background(), next, dynamic.Compress{}, "testing")
|
||||
|
||||
req, _ := http.NewRequest("GET", "/whatever", nil)
|
||||
req, _ := http.NewRequest(http.MethodGet, "/whatever", nil)
|
||||
req.Header.Set("Accept-Encoding", "gzip")
|
||||
|
||||
b.ReportAllocs()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue