Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type MockEncoder ¶
MockEncoder is an autogenerated mock type for the Encoder type
func NewMockEncoder ¶ added in v0.3.0
func NewMockEncoder(t interface { mock.TestingT Cleanup(func()) }) *MockEncoder
NewMockEncoder creates a new instance of MockEncoder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
Click to show internal directories.
Click to hide internal directories.