Documentation ¶
Index ¶
- func IsAlphaNumeric(value string) bool
- func IsAlphabet(value string) bool
- func IsEmail(value string) bool
- func IsEmpty(value string) bool
- func IsEqualTo(value string, length int) bool
- func IsLengthGreater(value string, length int) bool
- func IsLengthGreaterThanOrEqualTo(value string, length int) bool
- func IsLengthLessThanOrEqualTo(value string, length int) bool
- func IsLengthLesser(value string, length int) bool
- func IsNegative(num int) bool
- func IsPositive(num int) bool
- func IsURL(value string) bool
- func IsValidAadhar(value string) bool
- func IsValidIndianPhoneNumber(value string) bool
- func IsValidPAN(value string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAlphaNumeric ¶
Checks if the given value is alphanumeric and doesnt have any special characters
func IsAlphabet ¶
Checks if the given value only contains alphabets
func IsEqualTo ¶
Checks if the length of the given value is grrater than or equal to the length(arg)
func IsLengthGreater ¶
Checks if the length of the value is greater than the length(arg)
func IsLengthGreaterThanOrEqualTo ¶
Checks if the length of the given value is grrater than or equal to the length(arg)
func IsLengthLessThanOrEqualTo ¶
Checks if the length of the given value is grrater than or equal to the length(arg)
func IsLengthLesser ¶
Checks if the length of of the given value is lesser than the length(arg)
func IsValidAadhar ¶
Checks if the given value is in the valid format for Aadhar card
func IsValidIndianPhoneNumber ¶
Checks if the given value is a valid form for a Indian Phone Number
func IsValidPAN ¶
Checks if the given value is in the valid format of PAN card
Types ¶
This section is empty.