assert

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNilOrFalse

func IsNilOrFalse(v interface{}) bool

judgement: bool, integer, string, struct, slice, map is nil or false?

func IsPtrType

func IsPtrType(v interface{}) bool

judgement: variant is a pointer type ?

func Panic

func Panic(v interface{}, strMsg string, args ...interface{})

assert bool, string or struct/slice/map nil or false, call panic

Types

This section is empty.

Jump to

Keyboard shortcuts

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