Documentation
¶
Index ¶
- Constants
- Variables
- func Assert(b bool, format string, a ...any)
- func Err(b bool, err error)
- func Exit(err error, args ...any)
- func Exit1[T any](ret T, err error) T
- func ExitF(err error, msg string, args ...any)
- func ExitFn(errFn func() error, args ...any)
- func Fn(b bool, fn func() error)
- func If(b bool, format string, a ...any)
- func Lazy(lazy func() bool, err error)
- func Must(err error, args ...any)
- func Must1[T any](ret T, err error) T
- func MustEqual[T any](a, b T)
- func MustF(err error, msg string, args ...any)
- func MustFn(errFn func() error, args ...any)
- func T(b bool, format string, a ...any)
Constants ¶
View Source
const Name = "assert"
Variables ¶
View Source
var FeatureDebugMode = features.Bool("assert.debug_mode", false, "debug mode, pretty stack and error")
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.