Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Errors ¶
Errors is an autogenerated mock type for the Errors type
func NewErrors ¶
func NewErrors(t mockConstructorTestingTNewErrors) *Errors
NewErrors creates a new instance of Errors. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Validation ¶
Validation is an autogenerated mock type for the Validation type
func NewValidation ¶
func NewValidation(t mockConstructorTestingTNewValidation) *Validation
NewValidation creates a new instance of Validation. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Validation) AddRules ¶
func (_m *Validation) AddRules(_a0 []validation.Rule) error
AddRules provides a mock function with given fields: _a0
func (*Validation) Make ¶
func (_m *Validation) Make(data interface{}, rules map[string]string, options ...validation.Option) (validation.Validator, error)
Make provides a mock function with given fields: data, rules, options
func (*Validation) Rules ¶
func (_m *Validation) Rules() []validation.Rule
Rules provides a mock function with given fields:
type Validator ¶
Validator is an autogenerated mock type for the Validator type
func NewValidator ¶
func NewValidator(t mockConstructorTestingTNewValidator) *Validator
NewValidator creates a new instance of Validator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Validator) Errors ¶
func (_m *Validator) Errors() validation.Errors
Errors provides a mock function with given fields: