package
0.16.0
Repository: https://github.com/rbmk-project/common.git
Documentation: pkg.go.dev

# Functions

Assert calls panic if assertion is false.
PanicOnError calls panic() if err is not nil.
Try0 calls [runtimex.PanicOnError] if err is not nil.
Try1 is like [Try0] but supports functions returning one values and an error.
Try2 is like [Try1] but supports functions returning two values and an error.
Try3 is like [Try2] but supports functions returning three values and an error.