Documentation ¶
Index ¶
- type MultiError
- func (_m *MultiError) Append(key string, err error) candihelper.MultiError
- func (_m *MultiError) Clear()
- func (_m *MultiError) Error() string
- func (_m *MultiError) HasError() bool
- func (_m *MultiError) IsNil() bool
- func (_m *MultiError) Merge(_a0 candihelper.MultiError) candihelper.MultiError
- func (_m *MultiError) ToMap() map[string]string
- type URLQueryGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiError ¶
MultiError is an autogenerated mock type for the MultiError type
func NewMultiError ¶ added in v1.11.21
func NewMultiError(t mockConstructorTestingTNewMultiError) *MultiError
NewMultiError creates a new instance of MultiError. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MultiError) Append ¶
func (_m *MultiError) Append(key string, err error) candihelper.MultiError
Append provides a mock function with given fields: key, err
func (*MultiError) Clear ¶
func (_m *MultiError) Clear()
Clear provides a mock function with given fields:
func (*MultiError) Error ¶
func (_m *MultiError) Error() string
Error provides a mock function with given fields:
func (*MultiError) HasError ¶
func (_m *MultiError) HasError() bool
HasError provides a mock function with given fields:
func (*MultiError) IsNil ¶
func (_m *MultiError) IsNil() bool
IsNil provides a mock function with given fields:
func (*MultiError) Merge ¶
func (_m *MultiError) Merge(_a0 candihelper.MultiError) candihelper.MultiError
Merge provides a mock function with given fields: _a0
func (*MultiError) ToMap ¶
func (_m *MultiError) ToMap() map[string]string
ToMap provides a mock function with given fields:
type URLQueryGetter ¶ added in v1.13.14
URLQueryGetter is an autogenerated mock type for the URLQueryGetter type
func NewURLQueryGetter ¶ added in v1.13.14
func NewURLQueryGetter(t mockConstructorTestingTNewURLQueryGetter) *URLQueryGetter
NewURLQueryGetter creates a new instance of URLQueryGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*URLQueryGetter) Get ¶ added in v1.13.14
func (_m *URLQueryGetter) Get(key string) string
Get provides a mock function with given fields: key