committed by
Lunny Xiao
parent
b209531959
commit
33ad554800
+12
@@ -0,0 +1,12 @@
|
||||
package object
|
||||
|
||||
import (
|
||||
"bufio"
|
||||
"sync"
|
||||
)
|
||||
|
||||
var bufPool = sync.Pool{
|
||||
New: func() interface{} {
|
||||
return bufio.NewReader(nil)
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user