Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoSafe ¶
func GoSafe(fn func())
GoSafe runs the given fn using another goroutine, recovers if fn panics.
func GoroutineID ¶
func GoroutineID() int64
GoroutineID Get returns the id of the current goroutine.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.