Documentation ¶
Overview ¶
Package json is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJsoniter ¶
func NewJsoniter() *jsoniterator
NewJsoniter constructs new JSON module using Jsoniter library
Types ¶
type MockJson ¶
type MockJson struct {
// contains filtered or unexported fields
}
MockJson is a mock of Json interface
func NewMockJson ¶
func NewMockJson(ctrl *gomock.Controller) *MockJson
NewMockJson creates a new mock instance
func (*MockJson) EXPECT ¶
func (m *MockJson) EXPECT() *MockJsonMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockJsonMockRecorder ¶
type MockJsonMockRecorder struct {
// contains filtered or unexported fields
}
MockJsonMockRecorder is the mock recorder for MockJson
func (*MockJsonMockRecorder) Marshal ¶
func (mr *MockJsonMockRecorder) Marshal(arg0 interface{}) *gomock.Call
Marshal indicates an expected call of Marshal
func (*MockJsonMockRecorder) Unmarshal ¶
func (mr *MockJsonMockRecorder) Unmarshal(arg0, arg1 interface{}) *gomock.Call
Unmarshal indicates an expected call of Unmarshal
Click to show internal directories.
Click to hide internal directories.