asserts

package
v0.0.0-...-81cdc2d Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equals

func Equals(leftStr, rightStr, errorMsg string) error

func False

func False(v bool, errorMsg string) error

func IsEmpty

func IsEmpty(inputStr, errorMsg string) error

func IsNil

func IsNil(obj interface{}, errorMsg string) (err error)

func IsTrue

func IsTrue(v bool, errorMsg string) error

func NotEmpty

func NotEmpty(inputStr string, errorMsg string) error

func NotEquals

func NotEquals(leftStr, rightStr, errorMsg string) error

func NotNil

func NotNil(obj interface{}, errorMsg string) (err error)

func True

func True(v bool, errorMsg string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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