ensure

package
v0.0.0-...-86833b7 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Condition

func Condition(cond bool, msg string)

func Nil

func Nil(value interface{}, msg string)

func NilErr

func NilErr(err error)

func NotNil

func NotNil(value interface{}, msg string)

Types

type Unexpected

type Unexpected struct {
	Msg, PackageName, FileName, FuncName string
	Line                                 int
}

func (*Unexpected) Error

func (u *Unexpected) Error() string

Jump to

Keyboard shortcuts

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