mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 20:27:03 +01:00
12 lines
133 B
Go
12 lines
133 B
Go
package object
|
|
|
|
import (
|
|
"bufio"
|
|
"sync"
|
|
)
|
|
|
|
var bufPool = sync.Pool{
|
|
New: func() interface{} {
|
|
return bufio.NewReader(nil)
|
|
},
|
|
}
|