mirror of
https://github.com/go-gitea/gitea
synced 2024-11-05 09:44:26 +00:00
57f1476093
v1.1.0 has improved buffer pooling
10 lines
169 B
Go
Vendored
10 lines
169 B
Go
Vendored
package render
|
|
|
|
import "bytes"
|
|
|
|
// GenericBufferPool abstracts buffer pool implementations
|
|
type GenericBufferPool interface {
|
|
Get() *bytes.Buffer
|
|
Put(*bytes.Buffer)
|
|
}
|