Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormDecode ¶
FormDecode decodes the values from the map[string][]string into the provided object using the formDecoder instance.
Parameters: - object: the object to be decoded - values: the map containing the values to be decoded Return type: error
func Initialize ¶
func Initialize()
Initialize initializes the Validator instance with playValidator and formDecoder, then registers custom types.
No parameters. No return values.
func RegisterCustomValidation ¶
func RegisterCustomValidation(tag string, fn playValidator.Func)
RegisterCustomValidation registers a custom validation function with the provided tag.
Parameters: - tag: the tag to be registered - fn: the function to be registered No return values.
Types ¶
Click to show internal directories.
Click to hide internal directories.