Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Recover ¶
func Recover(cleanups ...func())
Recover is used with defer to do cleanup on panics. Use it like:
defer Recover(func() {})
func RecoverCtx ¶
RecoverCtx is used with defer to do cleanup on panics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.