Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
func (*Error) FieldErrors ¶
func (ve *Error) FieldErrors() []FieldError
type FieldError ¶
type FieldError struct { FailedField string `json:"failedField"` Tag string `json:"tag"` Value interface{} `json:"value"` Message string `json:"message"` }
func (FieldError) Error ¶
func (fe FieldError) Error() string
Click to show internal directories.
Click to hide internal directories.