package
0.4.1
Repository: https://github.com/mfaizudd/nodebat-go.git
Documentation: pkg.go.dev

# Functions

BetweenDate checks if the date is between the given dates Has two parameters: minDate (time.Time), maxDate (time.Time).
IsAlphanumeric checks if the data is alphanumeric excluding space.
IsEmail checks if the data is a valid email address.
IsISO8601 checks if the data is a valid ISO8601 date.
IsISO8601Date checks if the data is a valid ISO8601 date.
IsOnlyDigits checks if the data contains only digits.
IsPhone checks if the data is a valid phone number.
IsUUID checks if the data is a valid UUID.
Length checks if the data is between min and max characters long Has one parameter: length (int).
Max checks if the data is at most max Has one parameter: max (any number type, except complex).
MaxCount checks if the length of the array/slice/map is less than or equal to the given number Has one parameter: max (int).
MaxDate checks if the date is before the given date Has one parameter: maxDate (time.Time).
MaxLength checks if the data is at most max characters long Has one parameter: max (int).
Min checks if the data is at least min Has one parameter: min (any number type, except complex).
MinCount checks if the length of the array/slice/map is greater than or equal to the given number Has one parameter: min (int).
MinDate checks if the date is after the given date Has one parameter: minDate (time.Time).
MinLength checks if the data is at least min characters long Has one parameter: min (int).
No description provided by the author
NewBuilder creates a new Builder.
No description provided by the author
No description provided by the author
Numeric checks if the given value is a number.
OneOf checks if the data is in the collection Has one parameter named "collection" which is a slice of strings.
Range checks if the data is between min and max Has two parameters: min (any number type, except complex), max (same type as min).
Required checks if the data is nil or empty string.

# Structs

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

# Interfaces

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

# Type aliases

No description provided by the author