Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bind ¶
func Bind(model interface{}, form interface{})
Bind a validated form to a model, tag omit to not bind a field
func DefaultValidator ¶
func DefaultValidator(fl validator.FieldLevel) bool
func IsUTFLetterNumeric ¶
IsUTFLetterNumeric check if the string contains only unicode letters and numbers. Empty string is valid.
func IsUTFLetterNumericValidator ¶
func IsUTFLetterNumericValidator(fl validator.FieldLevel) bool
IsUTFLetterNumericValidator is an interface to IsUTFLetterNumeric from validator
func ValidateForm ¶
ValidateForm : Check if a form is valid according to its tags
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.