Versions in this module Expand all Collapse all v0 v0.9.2 Aug 10, 2023 v0.9.1 Feb 2, 2023 Changes in this version + type Option func(opts *options[V]) + func Discard(fn func(*V) bool) Option[V] + func OnInit(fn func(*V)) Option[V] + func OnPut(fn func(*V)) Option[V] + type Pool struct + func New(opts ...Option[V]) *Pool[V] + func (p *Pool[V]) Get() *V + func (p *Pool[V]) Put(x *V)