Documentation ¶ Index ¶ func Validate(v Validator) *xerrors.Error type Validator Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Validate ¶ func Validate(v Validator) *xerrors.Error Types ¶ type Validator ¶ type Validator interface { // Validate validates the fields of the struct and returns a map of errors. // returns nil if no errors are found Validate() map[string]string } Source Files ¶ View all Source files validator.go Click to show internal directories. Click to hide internal directories.