Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAlphanumUnderscore ¶
func ValidateAlphanumUnderscore(fl playground.FieldLevel) bool
func ValidateId ¶
func ValidateId(fl playground.FieldLevel) bool
func ValidatePhone ¶
func ValidatePhone(fl playground.FieldLevel) bool
Types ¶
type PlaygroundValdator ¶
type PlaygroundValdator struct {
// contains filtered or unexported fields
}
func New ¶
func New() *PlaygroundValdator
func (*PlaygroundValdator) Validate ¶
func (v *PlaygroundValdator) Validate(s interface{}) error
func (*PlaygroundValdator) ValidatePartial ¶
func (v *PlaygroundValdator) ValidatePartial(s interface{}, fields ...string) *validator.ValidationError
func (*PlaygroundValdator) ValidateValue ¶
func (v *PlaygroundValdator) ValidateValue(value interface{}, rules string) error
Click to show internal directories.
Click to hide internal directories.