0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-29 15:24:43 +01:00
gitea/vendor/github.com/unrolled/render/genericbufferpool.go
Nathan Smith 445e47b692
Bump unrolled/render to v1.1.0 (#15581)
v1.1.0 has improved buffer pooling
2021-04-22 10:54:27 +01:00

9 lines
169 B
Go
Vendored

package render
import "bytes"
// GenericBufferPool abstracts buffer pool implementations
type GenericBufferPool interface {
Get() *bytes.Buffer
Put(*bytes.Buffer)
}