assert

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(err error, format string, a ...interface{})

Assert if err!=nil panic with error and msg if not niu.

func AssertAllNotNil

func AssertAllNotNil(errorMessage string, cs ...interface{})

func AssertNotNil

func AssertNotNil(c interface{}, format string, a ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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