assertion

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertExactly

func AssertExactly(v, e int) (err error)

func AssertGreaterThan

func AssertGreaterThan(v, min int) (err error)

func AssertTimeNotNegative

func AssertTimeNotNegative(t time.Time) (err error)

func AssertTimeNotZero

func AssertTimeNotZero(t time.Time) (err error)

func AssertWithinRange

func AssertWithinRange(v, min, max int) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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