must

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Must0

func Must0(err error)

func Must1

func Must1[A any](a A, err error) A

func Must2

func Must2[A any, B any](a A, b B, err error) (A, B)

Types

type ErrorHandlerFunc

type ErrorHandlerFunc func(error)
var ErrorHandler ErrorHandlerFunc = func(err error) { panic(err) }

Jump to

Keyboard shortcuts

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