check

package module
v0.0.0-...-5898cbc Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2025 License: MIT Imports: 3 Imported by: 0

README

check

assertions for go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eq

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

func ErrIs

func ErrIs(e error, target error)

func GT

func GT[T cmp.Ordered](a, b T)

func GTE

func GTE[T cmp.Ordered](a, b T)

func Is

func Is[T any](a any)

func LT

func LT[T cmp.Ordered](a, b T)

func LTE

func LTE[T cmp.Ordered](a, b T)

func Nil

func Nil[T any](x *T)

func NotEq

func NotEq[T comparable](a, b T)

func NotNil

func NotNil[T any](x *T)

func Panics

func Panics(f func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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