assert

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCount

func CheckCount(count int, msg string)

func ExecSuccess

func ExecSuccess(err error, msg string)

func IsBlank

func IsBlank(s string, msg string)

func IsEmpty

func IsEmpty[T any](arr []T, msg string)

func IsEmptyPointer

func IsEmptyPointer(obj any, msg string)

func IsEmptyTime

func IsEmptyTime(t time.Time, msg string)

func IsFalse

func IsFalse(expr bool, msg string)

func IsFile

func IsFile(file string, msg string)

func IsNotBlank

func IsNotBlank(s string, msg string)

func IsNotEmptyPointer

func IsNotEmptyPointer(obj any, msg string)

func IsNotFile

func IsNotFile(file string, msg string)

func IsNotImplemented

func IsNotImplemented(point any, msg string)

func IsNotNull

func IsNotNull(obj any, msg string)

func IsNull

func IsNull(obj any, msg string)

func IsTrue

func IsTrue(expr bool, msg string)

func IsZero

func IsZero[T gsafe.Numeric](num T, 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