mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-05 08:52:02 +00:00
445e47b692
v1.1.0 has improved buffer pooling
9 lines
169 B
Go
Vendored
9 lines
169 B
Go
Vendored
package render
|
|
|
|
import "bytes"
|
|
|
|
// GenericBufferPool abstracts buffer pool implementations
|
|
type GenericBufferPool interface {
|
|
Get() *bytes.Buffer
|
|
Put(*bytes.Buffer)
|
|
}
|