githaven-fork/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/common.go

13 lines
133 B
Go
Raw Normal View History

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