Documentation ¶ Overview ¶ Package deferutil holds small helpers meant to be deferred at the top of a function or goroutine. Index ¶ func Recover() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Recover ¶ func Recover() Recover recovers from a panic in the current goroutine, reporting the panic value and stack trace rather than letting it crash the whole process. Defer it as the first statement of every goroutine entry point. Types ¶ This section is empty. Source Files ¶ View all Source files deferutil.go Click to show internal directories. Click to hide internal directories.