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 PanicIfFalse ¶
PanicIfFalse calls panic if assertion is false.
func PanicIfTrue ¶
PanicIfTrue calls panic if assertion is true.
func PanicOnError ¶
PanicOnError calls panic() if err is not nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.