Versions in this module Expand all Collapse all v0 v0.0.1 May 26, 2023 Changes in this version + var ErrPoolClosed = errors.New("the pool is closed") + var ErrPoolExhausted = errors.New("the pool has been exhausted") + type Pool interface + Close func() error + Get func() (T, error) + Len func() int + Put func(T) error + Release func(T) error + func NewPool(maxLen int64, createT func() (T, error)) Pool[T] + type Poolable interface v0.0.0 May 26, 2023