Versions in this module Expand all Collapse all v1 v1.202405300917.1 May 30, 2024 Changes in this version + var ErrNotEnough = errors.New("not enough elements in a pool") + type Pool struct + func New[T any](values []T) *Pool[T] + func (p *Pool[T]) Borrow() (value T, err error) + func (p *Pool[T]) Len() int + func (p *Pool[T]) Release(value T) v1.202405300916.1-rc May 30, 2024