package
0.0.0-20240326162802-e1fe0f512cdf
Repository: https://github.com/sysleec/auth.git
Documentation: pkg.go.dev

# Functions

NewClientMock returns a mock for db.Client.
NewDBMock returns a mock for db.DB.
NewNamedExecerMock returns a mock for db.NamedExecer.
NewPingerMock returns a mock for db.Pinger.
NewQueryExecerMock returns a mock for db.QueryExecer.
NewSQLExecerMock returns a mock for db.SQLExecer.
NewTransactorMock returns a mock for db.Transactor.
NewTxManagerMock returns a mock for db.TxManager.

# Structs

ClientMock implements db.Client.
ClientMockCloseExpectation specifies expectation struct of the Client.Close.
ClientMockCloseResults contains results of the Client.Close.
ClientMockDBExpectation specifies expectation struct of the Client.DB.
ClientMockDBResults contains results of the Client.DB.
DBMock implements db.DB.
DBMockBeginTxExpectation specifies expectation struct of the DB.BeginTx.
DBMockBeginTxParams contains parameters of the DB.BeginTx.
DBMockBeginTxResults contains results of the DB.BeginTx.
DBMockCloseExpectation specifies expectation struct of the DB.Close.
DBMockExecContextExpectation specifies expectation struct of the DB.ExecContext.
DBMockExecContextParams contains parameters of the DB.ExecContext.
DBMockExecContextResults contains results of the DB.ExecContext.
DBMockPingExpectation specifies expectation struct of the DB.Ping.
DBMockPingParams contains parameters of the DB.Ping.
DBMockPingResults contains results of the DB.Ping.
DBMockQueryContextExpectation specifies expectation struct of the DB.QueryContext.
DBMockQueryContextParams contains parameters of the DB.QueryContext.
DBMockQueryContextResults contains results of the DB.QueryContext.
DBMockQueryRowContextExpectation specifies expectation struct of the DB.QueryRowContext.
DBMockQueryRowContextParams contains parameters of the DB.QueryRowContext.
DBMockQueryRowContextResults contains results of the DB.QueryRowContext.
DBMockScanAllContextExpectation specifies expectation struct of the DB.ScanAllContext.
DBMockScanAllContextParams contains parameters of the DB.ScanAllContext.
DBMockScanAllContextResults contains results of the DB.ScanAllContext.
DBMockScanOneContextExpectation specifies expectation struct of the DB.ScanOneContext.
DBMockScanOneContextParams contains parameters of the DB.ScanOneContext.
DBMockScanOneContextResults contains results of the DB.ScanOneContext.
NamedExecerMock implements db.NamedExecer.
NamedExecerMockScanAllContextExpectation specifies expectation struct of the NamedExecer.ScanAllContext.
NamedExecerMockScanAllContextParams contains parameters of the NamedExecer.ScanAllContext.
NamedExecerMockScanAllContextResults contains results of the NamedExecer.ScanAllContext.
NamedExecerMockScanOneContextExpectation specifies expectation struct of the NamedExecer.ScanOneContext.
NamedExecerMockScanOneContextParams contains parameters of the NamedExecer.ScanOneContext.
NamedExecerMockScanOneContextResults contains results of the NamedExecer.ScanOneContext.
PingerMock implements db.Pinger.
PingerMockPingExpectation specifies expectation struct of the Pinger.Ping.
PingerMockPingParams contains parameters of the Pinger.Ping.
PingerMockPingResults contains results of the Pinger.Ping.
QueryExecerMock implements db.QueryExecer.
QueryExecerMockExecContextExpectation specifies expectation struct of the QueryExecer.ExecContext.
QueryExecerMockExecContextParams contains parameters of the QueryExecer.ExecContext.
QueryExecerMockExecContextResults contains results of the QueryExecer.ExecContext.
QueryExecerMockQueryContextExpectation specifies expectation struct of the QueryExecer.QueryContext.
QueryExecerMockQueryContextParams contains parameters of the QueryExecer.QueryContext.
QueryExecerMockQueryContextResults contains results of the QueryExecer.QueryContext.
QueryExecerMockQueryRowContextExpectation specifies expectation struct of the QueryExecer.QueryRowContext.
QueryExecerMockQueryRowContextParams contains parameters of the QueryExecer.QueryRowContext.
QueryExecerMockQueryRowContextResults contains results of the QueryExecer.QueryRowContext.
SQLExecerMock implements db.SQLExecer.
SQLExecerMockExecContextExpectation specifies expectation struct of the SQLExecer.ExecContext.
SQLExecerMockExecContextParams contains parameters of the SQLExecer.ExecContext.
SQLExecerMockExecContextResults contains results of the SQLExecer.ExecContext.
SQLExecerMockQueryContextExpectation specifies expectation struct of the SQLExecer.QueryContext.
SQLExecerMockQueryContextParams contains parameters of the SQLExecer.QueryContext.
SQLExecerMockQueryContextResults contains results of the SQLExecer.QueryContext.
SQLExecerMockQueryRowContextExpectation specifies expectation struct of the SQLExecer.QueryRowContext.
SQLExecerMockQueryRowContextParams contains parameters of the SQLExecer.QueryRowContext.
SQLExecerMockQueryRowContextResults contains results of the SQLExecer.QueryRowContext.
SQLExecerMockScanAllContextExpectation specifies expectation struct of the SQLExecer.ScanAllContext.
SQLExecerMockScanAllContextParams contains parameters of the SQLExecer.ScanAllContext.
SQLExecerMockScanAllContextResults contains results of the SQLExecer.ScanAllContext.
SQLExecerMockScanOneContextExpectation specifies expectation struct of the SQLExecer.ScanOneContext.
SQLExecerMockScanOneContextParams contains parameters of the SQLExecer.ScanOneContext.
SQLExecerMockScanOneContextResults contains results of the SQLExecer.ScanOneContext.
TransactorMock implements db.Transactor.
TransactorMockBeginTxExpectation specifies expectation struct of the Transactor.BeginTx.
TransactorMockBeginTxParams contains parameters of the Transactor.BeginTx.
TransactorMockBeginTxResults contains results of the Transactor.BeginTx.
TxManagerMock implements db.TxManager.
TxManagerMockReadCommittedExpectation specifies expectation struct of the TxManager.ReadCommitted.
TxManagerMockReadCommittedParams contains parameters of the TxManager.ReadCommitted.
TxManagerMockReadCommittedResults contains results of the TxManager.ReadCommitted.