deferutil

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package deferutil holds small helpers meant to be deferred at the top of a function or goroutine.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL