Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBadFormat = errors.New("invalid format")
)
Functions ¶
This section is empty.
Types ¶
type EmailValidator ¶
type EmailValidator struct {
}
func (EmailValidator) IsValid ¶
func (ev EmailValidator) IsValid(email interface{}) bool
type PasswordValidator ¶
type PasswordValidator struct {
}
func (PasswordValidator) IsValid ¶
func (pv PasswordValidator) IsValid(password interface{}) bool
type PhoneNumberValidator ¶
type PhoneNumberValidator struct {
}
func (PhoneNumberValidator) IsValid ¶
func (pv PhoneNumberValidator) IsValid(phoneNumber interface{}) bool
type URLValidator ¶
type URLValidator struct {
}
func (URLValidator) IsValid ¶
func (v URLValidator) IsValid(URL interface{}) bool
Click to show internal directories.
Click to hide internal directories.