mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 16:01:55 +03:00
More idioms related to go 1.26
This commit is contained in:
@@ -3,7 +3,7 @@ package relay
|
||||
import "sync"
|
||||
|
||||
var copyBufferPool = sync.Pool{
|
||||
New: func() interface{} {
|
||||
New: func() any {
|
||||
rv := make([]byte, copyBufferSize)
|
||||
|
||||
return &rv
|
||||
|
||||
Reference in New Issue
Block a user