Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorResponse ¶
ErrorResponse stores a validation error to be returned as a HTTP response
func Validate ¶
func Validate(s interface{}) []*ErrorResponse
Validate runs a validation and returns a list of errors
Click to show internal directories.
Click to hide internal directories.