:generics-intensifies:
This commit is contained in:
parent
d7fa51be2c
commit
5f37741fe3
11 changed files with 38 additions and 44 deletions
|
@ -31,7 +31,7 @@ func Gzip(next http.Handler) http.Handler {
|
|||
}
|
||||
|
||||
var gzPool = sync.Pool{
|
||||
New: func() interface{} {
|
||||
New: func() any {
|
||||
w := gzip.NewWriter(ioutil.Discard)
|
||||
return w
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue