Documentation ¶
Overview ¶
Package mock_connection is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSQLConnector ¶
type MockSQLConnector struct {
// contains filtered or unexported fields
}
MockSQLConnector is a mock of SQLConnector interface.
func NewMockSQLConnector ¶
func NewMockSQLConnector(ctrl *gomock.Controller) *MockSQLConnector
NewMockSQLConnector creates a new mock instance.
func (*MockSQLConnector) Connect ¶
func (m *MockSQLConnector) Connect(driver, connectionURL string) (*ent.Client, error)
Connect mocks base method.
func (*MockSQLConnector) EXPECT ¶
func (m *MockSQLConnector) EXPECT() *MockSQLConnectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSQLConnectorMockRecorder ¶
type MockSQLConnectorMockRecorder struct {
// contains filtered or unexported fields
}
MockSQLConnectorMockRecorder is the mock recorder for MockSQLConnector.
func (*MockSQLConnectorMockRecorder) Connect ¶
func (mr *MockSQLConnectorMockRecorder) Connect(driver, connectionURL interface{}) *gomock.Call
Connect indicates an expected call of Connect.
Click to show internal directories.
Click to hide internal directories.