Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Errors ¶
Errors maps fields to the list of validation failures.
func (*Errors) Add ¶
Add appends the field and msg to the current list of errors. Add will initialize the Errors object if it is not initialized. If msg is `error` it is added directly, otherwise the value is converted to a string and added.
Click to show internal directories.
Click to hide internal directories.