package
Version:
v0.0.0-...-9320ea3
Opens a new window with list of versions in this module.
Published: Dec 11, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
SafeGo spawns a go-routine to run {#fn} with panic handler.
func Try(fn func()) (err error)
Try invokes #{fn} with panic handler.
If #{fn} causes a panic, #{ErrRecoverFromPanic} will be returned.
Otherwise, nil will be returned.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.