# Functions
Field returns a new validation error.
FormatRange returns a string representation of a range of values, such as "[1, 10]".
Fullname accepts any string and returns a message if the value is not a full name.
InRange accepts any numeric type and returns a message if the value is not in the range.
Join joins the given validation errors into one.
Negative accepts any numeric type and returns a message if the value is not negative.
NonZero accepts any numeric type and returns a message if the value is not zero.
NotEmpty accepts any string and returns a message if the value is empty.
NotEmptySlice accepts any slice and returns a message if the value is empty.
Number returns a new number validation error.
Positive accepts any numeric type and returns a message if the value is not positive.
Slice returns a new slice validation error.
SliceLength accepts any slice and returns a message if the length is not in the given range.
String returns a new string validation error.
StringLength accepts any string and returns a message if the length is not in the given range.
Zero accepts any numeric type and returns a message if the value is not zero.
# Structs
FieldError describes a field validation error.
NumberError describes a number field validation error.
SliceError describes a slice field validation error.
StringError describes a string field validation error.
# Interfaces
NumberType is a type constraint that accepts any numeric type.
SliceType is a type constraint that accepts any slice type.