require

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

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