Help us shape the future of Go! Take the 2026 Go Developer Survey

panicif

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 3 Imported by: 35

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eq added in v2.7.4

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

func Err added in v2.7.4

func Err(err error)

func False added in v2.7.4

func False(x bool)

func GreaterThan added in v2.7.4

func GreaterThan[T constraints.Ordered](a, b T)

func GreaterThanOrEqual added in v2.9.0

func GreaterThanOrEqual[T constraints.Ordered](a, b T)

func LessThan added in v2.7.4

func LessThan[T constraints.Ordered](a, b T)

func LessThanOrEqual added in v2.9.0

func LessThanOrEqual[T constraints.Ordered](a, b T)

func Nil added in v2.7.4

func Nil[T any](a T)

func NotEq added in v2.7.4

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

func NotNil

func NotNil[T any](a T)

func NotZero added in v2.9.0

func NotZero[T comparable](x T)

func SendBlocks added in v2.7.4

func SendBlocks[T any](ch chan<- T, t T)

func True added in v2.7.4

func True(x bool)

func Zero added in v2.9.0

func Zero[T comparable](x T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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