assert

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cond

type Cond interface {
	String() string
	Eval() bool
	Check() error
}

func All

func All(cs ...Cond) Cond

func False

func False(v bool, name string) Cond

func Not

func Not(c Cond) Cond

func True

func True(v bool, name string) Cond

type CondFunc

type CondFunc func() bool

type Func

type Func func() error

func Assert

func Assert(cond ...Cond) Func

Jump to

Keyboard shortcuts

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