package
0.1.5
Repository: https://github.com/xdoubleu/essentia.git
Documentation: pkg.go.dev

# Functions

Check checks if value passes the validatorFunc.
IsGreaterThanFunc checks if the provided value2 > value1.
IsGreaterThanOrEqualFunc checks if the provided value2 >= value1.
IsLesserThanFunc checks if the provided value2 < value1.
IsLesserThanOrEqualFunc checks if the provided value2 <= value1.
IsNotEmpty checks that the provided value is not empty.
IsValidTimeZone checks if the provided value is a valid IANA timezone.
New creates a new [Validator].

# Structs

Validator is used to validate contents of structs using [Check].

# Interfaces

ValidatedType is implemented by any struct with a Validate method.

# Type aliases

ValidatorFunc is the expected format used for validating data using [Check].