1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-03 13:11:42 +02:00
kratos/pkg/log/internal/bufferpool.go

8 lines
140 B
Go
Raw Normal View History

2019-03-06 19:11:45 +08:00
package core
var (
_pool = NewPool(_size)
// GetPool retrieves a buffer from the pool, creating one if necessary.
GetPool = _pool.Get
)