int64validator

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDivisibleBy

func IsDivisibleBy(denominator int64) validator.Int64

IsDivisibleBy checks if an int64 is exactly divisible by the provided denominator.

func IsGreaterThanEqualToPathValue

func IsGreaterThanEqualToPathValue(pathExpression path.Expression) validator.Int64

IsGreaterThanPathValue checks if an int64 is greater than the value configured in the provided path expression.

func IsGreaterThanPathValue

func IsGreaterThanPathValue(pathExpression path.Expression) validator.Int64

IsGreaterThanPathValue checks if an int64 is greater than the value configured in the provided path expression.

func IsLessThanEqualToPathValue

func IsLessThanEqualToPathValue(pathExpression path.Expression) validator.Int64

IsLessThanPathValue checks if an int64 is greater than the value configured in the provided path expression.

func IsLessThanPathValue

func IsLessThanPathValue(pathExpression path.Expression) validator.Int64

IsLessThanPathValue checks if an int64 is greater than the value configured in the provided path expression.

func RegexMatchesPathValue added in v0.16.0

func RegexMatchesPathValue(regexp *regexp.Regexp, message string, expressions ...path.Expression) validator.Int64

RegexMatchesPathValue validates if the provided regex matches the value at the provided path expression(s). If a list of expressions is provided, all expressions are checked until a match is found, or the list of expressions is exhausted.

Types

This section is empty.

Jump to

Keyboard shortcuts

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