Versions in this module Expand all Collapse all v1 v1.0.4 Apr 29, 2022 v1.0.3 Dec 21, 2020 Changes in this version + type Pool struct + func New(lifetime time.Duration, newFunc func() (interface{}, error), ...) *Pool + func (p *Pool) Close() error + func (p *Pool) Get() (interface{}, error) + func (p *Pool) Put(x interface{})