assert

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCount

func CheckCount(count int, code int, msg string)

func ExecSuccess

func ExecSuccess(err error, code int, msg string)

func IsBlank

func IsBlank(s string, code int, msg string)

func IsEmpty

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

func IsEmptyPointer

func IsEmptyPointer(obj any, code int, msg string)

func IsEmptyTime

func IsEmptyTime(t time.Time, code int, msg string)

func IsFalse

func IsFalse(expr bool, code int, msg string)

func IsFile

func IsFile(file string, code int, msg string)

func IsNotBlank

func IsNotBlank(s string, code int, msg string)

func IsNotEmptyPointer

func IsNotEmptyPointer(obj any, code int, msg string)

func IsNotFile

func IsNotFile(file string, code int, msg string)

func IsNotImplemented

func IsNotImplemented(point any, code int, msg string)

func IsNotNull

func IsNotNull(obj any, code int, msg string)

func IsNull

func IsNull(obj any, code int, msg string)

func IsTrue

func IsTrue(expr bool, code int, msg string)

func IsZero

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