package
0.0.0-20241204022039-9cc0b1be89ab
Repository: https://github.com/weitrue/kit.git
Documentation: pkg.go.dev

# Functions

GoroutineID Get returns the id of the current goroutine.
GoSafe runs the given fn using another goroutine, recovers if fn panics.
Recover is used with defer to do cleanup on panics.
RunSafe runs the given fn, recovers if fn panics.