Documentation ¶
Overview ¶
Package mocksql is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDBClient ¶
type MockDBClient struct {
// contains filtered or unexported fields
}
MockDBClient is a mock of DBClient interface.
func NewMockDBClient ¶
func NewMockDBClient(ctrl *gomock.Controller) *MockDBClient
NewMockDBClient creates a new mock instance.
func (*MockDBClient) EXPECT ¶
func (m *MockDBClient) EXPECT() *MockDBClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDBClient) First ¶
func (m *MockDBClient) First(arg0 interface{}, arg1 ...interface{}) *gorm.DB
First mocks base method.
func (*MockDBClient) Save ¶
func (m *MockDBClient) Save(arg0 interface{}) *gorm.DB
Save mocks base method.
func (*MockDBClient) Where ¶
func (m *MockDBClient) Where(arg0 interface{}, arg1 ...interface{}) *gorm.DB
Where mocks base method.
type MockDBClientMockRecorder ¶
type MockDBClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDBClientMockRecorder is the mock recorder for MockDBClient.
func (*MockDBClientMockRecorder) First ¶
func (mr *MockDBClientMockRecorder) First(arg0 interface{}, arg1 ...interface{}) *gomock.Call
First indicates an expected call of First.
func (*MockDBClientMockRecorder) Save ¶
func (mr *MockDBClientMockRecorder) Save(arg0 interface{}) *gomock.Call
Save indicates an expected call of Save.
func (*MockDBClientMockRecorder) Where ¶
func (mr *MockDBClientMockRecorder) Where(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Where indicates an expected call of Where.
Click to show internal directories.
Click to hide internal directories.