mocks

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SqlxDBConnectorI

type SqlxDBConnectorI struct {
	mock.Mock
}

SqlxDBConnectorI is an autogenerated mock type for the SqlxDBConnectorI type

func (*SqlxDBConnectorI) BeginTxx

func (_m *SqlxDBConnectorI) BeginTxx(ctx context.Context, opts *sql.TxOptions) (*sqlx.Tx, error)

BeginTxx provides a mock function with given fields: ctx, opts

func (*SqlxDBConnectorI) BindNamed

func (_m *SqlxDBConnectorI) BindNamed(_a0 string, _a1 interface{}) (string, []interface{}, error)

BindNamed provides a mock function with given fields: _a0, _a1

func (*SqlxDBConnectorI) DriverName

func (_m *SqlxDBConnectorI) DriverName() string

DriverName provides a mock function with given fields:

func (*SqlxDBConnectorI) ExecContext

func (_m *SqlxDBConnectorI) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)

ExecContext provides a mock function with given fields: ctx, query, args

func (*SqlxDBConnectorI) PrepareContext

func (_m *SqlxDBConnectorI) PrepareContext(ctx context.Context, query string) (*sql.Stmt, error)

PrepareContext provides a mock function with given fields: ctx, query

func (*SqlxDBConnectorI) QueryContext

func (_m *SqlxDBConnectorI) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)

QueryContext provides a mock function with given fields: ctx, query, args

func (*SqlxDBConnectorI) QueryRowxContext

func (_m *SqlxDBConnectorI) QueryRowxContext(ctx context.Context, query string, args ...interface{}) *sqlx.Row

QueryRowxContext provides a mock function with given fields: ctx, query, args

func (*SqlxDBConnectorI) QueryxContext

func (_m *SqlxDBConnectorI) QueryxContext(ctx context.Context, query string, args ...interface{}) (*sqlx.Rows, error)

QueryxContext provides a mock function with given fields: ctx, query, args

func (*SqlxDBConnectorI) Rebind

func (_m *SqlxDBConnectorI) Rebind(_a0 string) string

Rebind provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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