package
3.0.0+incompatible
Repository: https://github.com/oleoneto/go-structs.git
Documentation: pkg.go.dev

# Functions

Returns `true` if value is one of the accepted values.
Returns `true` of value is a UUID-formatted string.
No description provided by the author
Returns `true` if the str is a valid value for the provided regular expression pattern.
Validates a struct and its attributes and returns a list of validation errors.
Validates a struct attribute and returns a list of validation errors.
Decodes and validates the provided payload.

# Constants

Use if field must have a valid currency code as value (only works on strings).
Use if field must have a valid datetime value (only works on strings).
Use if field must contain an email address (only works on strings).
Use if string must have exactly 'eq' number of characters or if integer must be exactly equal to this value.
Use if field must be equal to one of the provided options.
Use if string must have at least 'min' number of characters or if integer must be greater than or equal to this value.
Use if string must have at least 'min' number of characters or if integer must be greater than or equal to this value.
Use if field must contain a value that matches the specified regular expression.
Use if field must contain a URL (only works on strings).
Use if field must contain a UUID-formated string (only works on strings).
The literal name of the validation tag as it'll appear in the struct.

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author