chore: use go1.18beta1

This commit is contained in:
nadoo committed 2022-01-26 23:40:49 +08:00
1 parent 755a8ca565
commit fac4b86f60
22 files changed
+49 -59

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ func init() {
for i := 0; i < num; i++ {
size := 1 << i
sizes[i] = size
pools[i].New = func() interface{} {
pools[i].New = func() any {
return make([]byte, size)
}
}