assert

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrNotNil

func ErrNotNil(err error, mode PanicMode, arg ...interface{})

func NotNil

func NotNil(intf interface{}, mode PanicMode, arg ...interface{})

Types

type PanicMode

type PanicMode int
const (
	Panic PanicMode = iota
	Exit
	SIGTERM
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL