Versions in this module Expand all Collapse all v0 v0.2.0 Jul 6, 2024 v0.1.0 Jun 27, 2024 Changes in this version + type MockDBConnector struct + func NewMockDBConnector(t interface{ ... }) *MockDBConnector + func (_m *MockDBConnector) Connect(ctx context.Context, addr dbconnector.Addr, credentials models.Credentials) (dbconnector.ExecutorCloser, error) + func (_m *MockDBConnector) EXPECT() *MockDBConnector_Expecter + type MockDBConnector_Connect_Call struct + func (_c *MockDBConnector_Connect_Call) Return(conn dbconnector.ExecutorCloser, err error) *MockDBConnector_Connect_Call + func (_c *MockDBConnector_Connect_Call) Run(...) *MockDBConnector_Connect_Call + func (_c *MockDBConnector_Connect_Call) RunAndReturn(...) *MockDBConnector_Connect_Call + type MockDBConnector_Expecter struct + func (_e *MockDBConnector_Expecter) Connect(ctx interface{}, addr interface{}, credentials interface{}) *MockDBConnector_Connect_Call + type MockExecutorCloser struct + func NewMockExecutorCloser(t interface{ ... }) *MockExecutorCloser + func (_m *MockExecutorCloser) Close() error + func (_m *MockExecutorCloser) EXPECT() *MockExecutorCloser_Expecter + func (_m *MockExecutorCloser) Exec(ctx context.Context, query models.Query) (models.RowSet, int, error) + type MockExecutorCloser_Close_Call struct + func (_c *MockExecutorCloser_Close_Call) Return(_a0 error) *MockExecutorCloser_Close_Call + func (_c *MockExecutorCloser_Close_Call) Run(run func()) *MockExecutorCloser_Close_Call + func (_c *MockExecutorCloser_Close_Call) RunAndReturn(run func() error) *MockExecutorCloser_Close_Call + type MockExecutorCloser_Exec_Call struct + func (_c *MockExecutorCloser_Exec_Call) Return(rows models.RowSet, affectedRows int, err error) *MockExecutorCloser_Exec_Call + func (_c *MockExecutorCloser_Exec_Call) Run(run func(ctx context.Context, query models.Query)) *MockExecutorCloser_Exec_Call + func (_c *MockExecutorCloser_Exec_Call) RunAndReturn(run func(context.Context, models.Query) (models.RowSet, int, error)) *MockExecutorCloser_Exec_Call + type MockExecutorCloser_Expecter struct + func (_e *MockExecutorCloser_Expecter) Close() *MockExecutorCloser_Close_Call + func (_e *MockExecutorCloser_Expecter) Exec(ctx interface{}, query interface{}) *MockExecutorCloser_Exec_Call