mock_fmk

package
v0.0.0-...-b1b4505 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_fmk is a generated GoMock package.

Index

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) Disconnect

func (m *MockIDb) Disconnect() error

Disconnect mocks base method.

func (*MockIDb) EXPECT

func (m *MockIDb) EXPECT() *MockIDbMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIDb) GetModel

func (m *MockIDb) GetModel(colName string) fmk.IModel

GetModel mocks base method.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL