1
0
mirror of https://github.com/fumiama/go-registry.git synced 2026-06-04 23:40:27 +08:00
Files
go-registry/pool.go
2022-02-15 13:26:16 +08:00

12 lines
129 B
Go

package registry
import "sync"
var pool sync.Pool
func init() {
pool.New = func() interface{} {
return new(CmdPacket)
}
}