Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericPool ¶
type GenericPool[T any] struct { // contains filtered or unexported fields }
func NewGenericPool ¶
func NewGenericPool[T any]() GenericPool[T]
func (*GenericPool[T]) Put ¶
func (p *GenericPool[T]) Put(x *T)
func (*GenericPool[T]) SetNew ¶
func (p *GenericPool[T]) SetNew(nyū func() *T)
Click to show internal directories.
Click to hide internal directories.