require

package
v0.0.0-...-225e849 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 1 Imported by: 12

Documentation

Overview

Package require provides methods for enforcing requirements on values or exiting.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Nil

func Nil(v interface{})

Nil requires that the given value is nil or exists.

func NoError

func NoError(err error)

NoError requires that the error is nil or exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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