Replace interface{}
This commit is contained in:
@@ -30,7 +30,7 @@ func Gzip(next http.Handler) http.Handler {
|
||||
}
|
||||
|
||||
var gzPool = sync.Pool{
|
||||
New: func() interface{} {
|
||||
New: func() any {
|
||||
w := gzip.NewWriter(io.Discard)
|
||||
return w
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user