package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Oct 2, 2025
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GoWithRecover(fn func(), recoverFunc func(any))
type Pool[T any] struct {
}
func NewPool[T any](newFunc func() T) *Pool[T]
func (p *Pool[T]) Get() T
func (p *Pool[T]) Put(item T)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.