Help us shape the future of Go! Take the 2026 Go Developer Survey

safe

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Go

func Go(ctx context.Context, fn func())

Go launches fn in a new goroutine with panic recovery. The ctx is used solely for structured logging — if the goroutine panics, the log line carries the trace/session context so it can be correlated in observability tools.

Types

This section is empty.

Jump to

Keyboard shortcuts

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