2
0

Replace interface{} with any

This commit is contained in:
Jack Christensen
2022-04-09 09:12:55 -05:00
parent 95265a7421
commit f14fb3d692
106 changed files with 1045 additions and 1045 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ func init() {
for i := range bigBufPools {
byteSize := bigBufSizes[i]
bigBufPools[i] = &bigBufPool{
pool: sync.Pool{New: func() interface{} { return make([]byte, byteSize) }},
pool: sync.Pool{New: func() any { return make([]byte, byteSize) }},
byteSize: byteSize,
}
}