Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool[T any] struct { // contains filtered or unexported fields }
Pool is a generic wrapper around sync.Pool. If your T type implements Resetable, the resetter function will be called after the entry is returned to the pool.
Click to show internal directories.
Click to hide internal directories.