Documentation
¶
Overview ¶
Package val populate func() to validate incoming request
Index ¶
- func ValidateEmail(value string) error
- func ValidateEmailId(value int64) error
- func ValidateFullName(value string) error
- func ValidatePassword(value string) error
- func ValidateSecretCode(value string) error
- func ValidateString(value string, minLength int, maxLength int) error
- func ValidateUsername(value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateEmail ¶
ValidateEmail to validate email reqeust (email structure and email min max length )
func ValidateEmailId ¶
func ValidateFullName ¶
ValidateFullName to validate full_name field request(min max length & regex check)
func ValidatePassword ¶
ValidatePassword to validate password request (min-max length)
func ValidateSecretCode ¶
func ValidateString ¶
ValidateString validate string min&max behaviour
func ValidateUsername ¶
ValidateUsername to validate username request request(min max length & regex check)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.