Versions in this module Expand all Collapse all v0 v0.0.1 Feb 11, 2022 Changes in this version + type Pool struct + func New(allocf func() interface{}) *Pool + func (p *Pool) Alloc() *PoolElement + func (p *Pool) Free(pe *PoolElement) + func (p *Pool) FreeSize() int + func (p *Pool) UsedSize() int + type PoolElement struct + Value interface{}