Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Schema ¶
Schema is used to validate a input map based on a schema that contains go-playground/validator tags. It takes a schema in map form as the first parameter and an input as the second parameter. It returns nil if the schema passes validation or an error if the schema doesn't pass validation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.