panics

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmpty

func IsEmpty(result any, fmtAndArgs ...any)

IsEmpty assert result is empty, otherwise will panic

func IsFalse

func IsFalse(result bool, fmtAndArgs ...any)

IsFalse assert result is false, otherwise will panic

func IsNil

func IsNil(result any, fmtAndArgs ...any)

IsNil assert result is nil, otherwise will panic

func IsTrue

func IsTrue(result bool, fmtAndArgs ...any)

IsTrue assert result is true, otherwise will panic

func NotEmpty

func NotEmpty(result any, fmtAndArgs ...any)

NotEmpty assert result is empty, otherwise will panic

func NotNil

func NotNil(result any, fmtAndArgs ...any)

NotNil assert result is non-nil, otherwise will panic

Types

This section is empty.

Jump to

Keyboard shortcuts

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