Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct { Message string `json:"message"` ValidationError []validationError `json:"validationError"` }
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func NewValidator() *Validator
func (*Validator) Validate ¶
func (cv *Validator) Validate(i interface{}) ErrorResponse
Click to show internal directories.
Click to hide internal directories.