Documentation
¶
Overview ¶
Package mock_pgxs is a generated GoMock package.
Index ¶
- type MockPickfighterRepo
- func (m *MockPickfighterRepo) BeginTx(ctx context.Context, txOptions pgx.TxOptions) (pgx.Tx, error)
- func (m *MockPickfighterRepo) ConnectDBPool(ctx context.Context) (*pgxpool.Pool, error)
- func (m *MockPickfighterRepo) DebugLogSqlErr(q string, err error) error
- func (m *MockPickfighterRepo) DeleteRecords(ctx context.Context, scheme, tableName string) error
- func (m *MockPickfighterRepo) EXPECT() *MockPickfighterRepoMockRecorder
- func (m *MockPickfighterRepo) GetPool() *pgxpool.Pool
- func (m *MockPickfighterRepo) GetPoolConfig() (*pgxpool.Config, error)
- func (m *MockPickfighterRepo) GracefulShutdown()
- func (m *MockPickfighterRepo) SanitizeString(s string) string
- type MockPickfighterRepoMockRecorder
- func (mr *MockPickfighterRepoMockRecorder) BeginTx(ctx, txOptions any) *gomock.Call
- func (mr *MockPickfighterRepoMockRecorder) ConnectDBPool(ctx any) *gomock.Call
- func (mr *MockPickfighterRepoMockRecorder) DebugLogSqlErr(q, err any) *gomock.Call
- func (mr *MockPickfighterRepoMockRecorder) DeleteRecords(ctx, scheme, tableName any) *gomock.Call
- func (mr *MockPickfighterRepoMockRecorder) GetPool() *gomock.Call
- func (mr *MockPickfighterRepoMockRecorder) GetPoolConfig() *gomock.Call
- func (mr *MockPickfighterRepoMockRecorder) GracefulShutdown() *gomock.Call
- func (mr *MockPickfighterRepoMockRecorder) SanitizeString(s any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPickfighterRepo ¶
type MockPickfighterRepo struct {
// contains filtered or unexported fields
}
MockPickfighterRepo is a mock of PickfighterRepo interface.
func NewMockPickfighterRepo ¶
func NewMockPickfighterRepo(ctrl *gomock.Controller) *MockPickfighterRepo
NewMockPickfighterRepo creates a new mock instance.
func (*MockPickfighterRepo) ConnectDBPool ¶
ConnectDBPool mocks base method.
func (*MockPickfighterRepo) DebugLogSqlErr ¶
func (m *MockPickfighterRepo) DebugLogSqlErr(q string, err error) error
DebugLogSqlErr mocks base method.
func (*MockPickfighterRepo) DeleteRecords ¶
func (m *MockPickfighterRepo) DeleteRecords(ctx context.Context, scheme, tableName string) error
DeleteRecords mocks base method.
func (*MockPickfighterRepo) EXPECT ¶
func (m *MockPickfighterRepo) EXPECT() *MockPickfighterRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPickfighterRepo) GetPool ¶
func (m *MockPickfighterRepo) GetPool() *pgxpool.Pool
GetPool mocks base method.
func (*MockPickfighterRepo) GetPoolConfig ¶
func (m *MockPickfighterRepo) GetPoolConfig() (*pgxpool.Config, error)
GetPoolConfig mocks base method.
func (*MockPickfighterRepo) GracefulShutdown ¶
func (m *MockPickfighterRepo) GracefulShutdown()
GracefulShutdown mocks base method.
func (*MockPickfighterRepo) SanitizeString ¶
func (m *MockPickfighterRepo) SanitizeString(s string) string
SanitizeString mocks base method.
type MockPickfighterRepoMockRecorder ¶
type MockPickfighterRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockPickfighterRepoMockRecorder is the mock recorder for MockPickfighterRepo.
func (*MockPickfighterRepoMockRecorder) BeginTx ¶
func (mr *MockPickfighterRepoMockRecorder) BeginTx(ctx, txOptions any) *gomock.Call
BeginTx indicates an expected call of BeginTx.
func (*MockPickfighterRepoMockRecorder) ConnectDBPool ¶
func (mr *MockPickfighterRepoMockRecorder) ConnectDBPool(ctx any) *gomock.Call
ConnectDBPool indicates an expected call of ConnectDBPool.
func (*MockPickfighterRepoMockRecorder) DebugLogSqlErr ¶
func (mr *MockPickfighterRepoMockRecorder) DebugLogSqlErr(q, err any) *gomock.Call
DebugLogSqlErr indicates an expected call of DebugLogSqlErr.
func (*MockPickfighterRepoMockRecorder) DeleteRecords ¶
func (mr *MockPickfighterRepoMockRecorder) DeleteRecords(ctx, scheme, tableName any) *gomock.Call
DeleteRecords indicates an expected call of DeleteRecords.
func (*MockPickfighterRepoMockRecorder) GetPool ¶
func (mr *MockPickfighterRepoMockRecorder) GetPool() *gomock.Call
GetPool indicates an expected call of GetPool.
func (*MockPickfighterRepoMockRecorder) GetPoolConfig ¶
func (mr *MockPickfighterRepoMockRecorder) GetPoolConfig() *gomock.Call
GetPoolConfig indicates an expected call of GetPoolConfig.
func (*MockPickfighterRepoMockRecorder) GracefulShutdown ¶
func (mr *MockPickfighterRepoMockRecorder) GracefulShutdown() *gomock.Call
GracefulShutdown indicates an expected call of GracefulShutdown.
func (*MockPickfighterRepoMockRecorder) SanitizeString ¶
func (mr *MockPickfighterRepoMockRecorder) SanitizeString(s any) *gomock.Call
SanitizeString indicates an expected call of SanitizeString.