Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BindingError ¶
type BindingError struct {
// contains filtered or unexported fields
}
func (BindingError) Error ¶
func (e BindingError) Error() string
type Cleaner ¶
type Cleaner interface {
Cleanup()
}
Cleaner can be implemented by a dto that is used in BindAndValidateBody for clean up values before validate
type Validate ¶
type Validate interface {
Validate() models.ValidationErrors
}
Validate can be implemented by a dto that is used in BindAndValidateBody for custom validation
Click to show internal directories.
Click to hide internal directories.