1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-26 03:52:12 +02:00
kratos/pkg/log/internal/bufferpool.go
2019-03-06 19:11:45 +08:00

8 lines
140 B
Go

package core
var (
_pool = NewPool(_size)
// GetPool retrieves a buffer from the pool, creating one if necessary.
GetPool = _pool.Get
)