Documentation
¶
Overview ¶
Package runtimex contains runtime extensions.
This package is inspired to https://pkg.go.dev/github.com/m-lab/go/rtx, except that it's simpler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Assert ¶
Assert calls panic if assertion is false. The type passed to panic is an error constructed using errors.New(message).
func PanicOnError ¶
PanicOnError calls panic() if err is not nil. The type passed to panic is an error type wrapping the original error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.