Versions in this module Expand all Collapse all v0 v0.2.0 May 9, 2024 v0.1.1 Nov 16, 2022 Changes in this version + type BufferPool struct + func NewBufferPool(size int) *BufferPool + func (p *BufferPool) Get() *bytes.Buffer + func (p *BufferPool) Put(b *bytes.Buffer) + type ErrOnce struct + func (e *ErrOnce) Do(fn func() error) error + type ErrOnceWithValue struct + func (e *ErrOnceWithValue[T]) Do(fn func() (T, error)) (T, error)