internal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ERR_OUT_OF_RANGE             = "out of range"
	ERR_NON_NEGATIVE_INTENGER    = "should be a non-negative integer"
	ERR_NON_NEGATIVE_NUMBER      = "should be a non-negative number"
	ERR_NON_ZERO                 = "should not be zero"
	ERR_NAN_OR_INFINITY          = "cannot be -inf, +inf or NaN"
	ERR_NIL                      = "cannot be nil"
	ERR_EMPTY_ARRAY              = "cannot be an empty array"
	ERR_EMPTY_STRING             = "cannot be an empty string"
	ERR_NOT_ARRAY                = "should be an array"
	ERR_INVALID_INTEGER          = "specified integer %d is invalid"
	ERR_INVALID_FLOAT            = "specified number %v is invalid"
	ERR_INVALID_NUMBER           = "specified number %q is invalid"
	ERR_INVALID_STRING           = "specified string %q is invalid"
	ERR_INVALID_VALUE            = "specified value %v is invalid"
	ERR_INVALID_IP_ADDR          = "specified ip address %v is invalid"
	ERR_STRING_TOO_LONG          = "specified string is too long"
	ERR_STRING_TOO_SHORT         = "specified string is too short"
	ERR_UNSUPPORTED_CAST_IP_ADDR = "cannot convert to net.IP from %T"
	ERR_INVALID_REGEX_PATTERN    = "specified reguler expression pattern %q is invalid"
)

Reason

Variables

This section is empty.

Functions

func IsInfinity

func IsInfinity(v float64) bool

func IsNan

func IsNan(v float64) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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