mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-06-01 19:10:36 +02:00
Replace interface{}
This commit is contained in:
parent
eaf3e83e72
commit
5014bba0b3
7 changed files with 17 additions and 17 deletions
util
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue