mock_pgxs

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_pgxs is a generated GoMock package.

Index

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

func (m *MockPickfighterRepo) BeginTx(ctx context.Context, txOptions pgx.TxOptions) (pgx.Tx, error)

BeginTx mocks base method.

func (*MockPickfighterRepo) ConnectDBPool

func (m *MockPickfighterRepo) ConnectDBPool(ctx context.Context) (*pgxpool.Pool, error)

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

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

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.

Jump to

Keyboard shortcuts

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