package
Version:
v1.2.1
Opens a new window with list of versions in this module.
Published: Jul 3, 2026
License: MIT
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
¶
func SafeGo(name string, fn func())
SafeGo runs fn in a goroutine wrapped with panic recovery.
Panics are logged via slog with stack trace and emit a "goroutine_panic" event.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.