1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-06-01 19:10:36 +02:00

Replace interface{}

This commit is contained in:
Philipp Heckel 2022-10-01 16:31:48 -04:00
parent eaf3e83e72
commit 5014bba0b3
7 changed files with 17 additions and 17 deletions

View file

@ -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
},