package
0.30.0
Repository: https://github.com/ooni/probe-engine.git
Documentation: pkg.go.dev

# Functions

Assert calls panic if assertion is false.
CatchLogAndIgnorePanic is a function that catches and ignores panics.
PanicIfNil calls panic if the given interface is nil.
PanicIfTrue calls panic if assertion is true.
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.

# Variables

BuildInfo is the singleton containing build-time information.

# Structs

BuildInfoRecord contains build-time information.

# Interfaces

WarningLogger is a logger that emits formatted warnings.