2019-06-19 10:14:15 +08:00

13 lines
133 B
Go

package object
import (
"bufio"
"sync"
)
var bufPool = sync.Pool{
New: func() interface{} {
return bufio.NewReader(nil)
},
}