guard

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MIT Imports: 4 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmptyOrNil

func EmptyOrNil(value interface{}, name ...string) error

func EmptyOrNilWithMessage added in v0.0.19

func EmptyOrNilWithMessage(value interface{}, message string) error

func FatalEmptyOrNil

func FatalEmptyOrNil(value interface{}, name ...string)

func IsFalse

func IsFalse(value bool, name ...string) error

func IsNill added in v0.0.16

func IsNill(value interface{}) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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