mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 19:54:25 +00: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)
|
||
|
},
|
||
|
}
|