assert

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2025 License: GPL-2.0 Imports: 5 Imported by: 0

README

asserts for Go might add more shared code into this eventually too

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eq

func Eq[T comparable](a T, b T, msg string)

func False

func False(condition bool, msg string)

func Ge

func Ge[T cmp.Ordered](a T, b T, msg string)

func Gt

func Gt[T cmp.Ordered](a T, b T, msg string)

func Le

func Le[T cmp.Ordered](a T, b T, msg string)

func Lt

func Lt[T cmp.Ordered](a T, b T, msg string)

func Ne

func Ne[T comparable](a T, b T, msg string)

func Todo

func Todo(msg ...string)

func True

func True(condition bool, msg string)

func Unreachable

func Unreachable(msg string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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