log/bufferpool/bufferpool.go

10 lines
173 B
Go
Raw Normal View History

2019-11-05 07:57:09 +00:00
package bufferpool
import "go.uber.org/zap/buffer"
var (
_pool = buffer.NewPool()
// Get retrieves a buffer from the pool, creating one if necessary.
Get = _pool.Get
)