Documentation ¶
Overview ¶
Package mock_fmk is a generated GoMock package.
Index ¶
- type MockIDb
- type MockIDbMockRecorder
- type MockIModel
- type MockIModelMockRecorder
- func (mr *MockIModelMockRecorder) Delete(filter interface{}) *gomock.Call
- func (mr *MockIModelMockRecorder) FindByFilter(filter, doc interface{}) *gomock.Call
- func (mr *MockIModelMockRecorder) Insert(doc interface{}) *gomock.Call
- func (mr *MockIModelMockRecorder) Update(filter, toChange interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIDb ¶
type MockIDb struct {
// contains filtered or unexported fields
}
MockIDb is a mock of IDb interface.
func NewMockIDb ¶
func NewMockIDb(ctrl *gomock.Controller) *MockIDb
NewMockIDb creates a new mock instance.
func (*MockIDb) EXPECT ¶
func (m *MockIDb) EXPECT() *MockIDbMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIDbMockRecorder ¶
type MockIDbMockRecorder struct {
// contains filtered or unexported fields
}
MockIDbMockRecorder is the mock recorder for MockIDb.
func (*MockIDbMockRecorder) Disconnect ¶
func (mr *MockIDbMockRecorder) Disconnect() *gomock.Call
Disconnect indicates an expected call of Disconnect.
func (*MockIDbMockRecorder) GetModel ¶
func (mr *MockIDbMockRecorder) GetModel(colName interface{}) *gomock.Call
GetModel indicates an expected call of GetModel.
type MockIModel ¶
type MockIModel struct {
// contains filtered or unexported fields
}
MockIModel is a mock of IModel interface.
func NewMockIModel ¶
func NewMockIModel(ctrl *gomock.Controller) *MockIModel
NewMockIModel creates a new mock instance.
func (*MockIModel) Delete ¶
func (m *MockIModel) Delete(filter interface{}) error
Delete mocks base method.
func (*MockIModel) EXPECT ¶
func (m *MockIModel) EXPECT() *MockIModelMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIModel) FindByFilter ¶
func (m *MockIModel) FindByFilter(filter, doc interface{}) error
FindByFilter mocks base method.
func (*MockIModel) Insert ¶
func (m *MockIModel) Insert(doc interface{}) (string, error)
Insert mocks base method.
func (*MockIModel) Update ¶
func (m *MockIModel) Update(filter, toChange interface{}) error
Update mocks base method.
type MockIModelMockRecorder ¶
type MockIModelMockRecorder struct {
// contains filtered or unexported fields
}
MockIModelMockRecorder is the mock recorder for MockIModel.
func (*MockIModelMockRecorder) Delete ¶
func (mr *MockIModelMockRecorder) Delete(filter interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockIModelMockRecorder) FindByFilter ¶
func (mr *MockIModelMockRecorder) FindByFilter(filter, doc interface{}) *gomock.Call
FindByFilter indicates an expected call of FindByFilter.
func (*MockIModelMockRecorder) Insert ¶
func (mr *MockIModelMockRecorder) Insert(doc interface{}) *gomock.Call
Insert indicates an expected call of Insert.
func (*MockIModelMockRecorder) Update ¶
func (mr *MockIModelMockRecorder) Update(filter, toChange interface{}) *gomock.Call
Update indicates an expected call of Update.