mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-28 05:16:53 +01:00
13 lines
133 B
Go
13 lines
133 B
Go
|
package object
|
||
|
|
||
|
import (
|
||
|
"bufio"
|
||
|
"sync"
|
||
|
)
|
||
|
|
||
|
var bufPool = sync.Pool{
|
||
|
New: func() interface{} {
|
||
|
return bufio.NewReader(nil)
|
||
|
},
|
||
|
}
|