mocks

package
v0.0.0-...-b175f30 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBConnector

type DBConnector struct {
	mock.Mock
}

DBConnector is an autogenerated mock type for the DBConnector type

func (*DBConnector) Get

func (_m *DBConnector) Get(dest interface{}, query string, args ...interface{}) error

Get provides a mock function with given fields: dest, query, args

func (*DBConnector) MustBegin

func (_m *DBConnector) MustBegin() *sqlx.Tx

MustBegin provides a mock function with given fields:

func (*DBConnector) Select

func (_m *DBConnector) Select(dest interface{}, query string, args ...interface{}) error

Select provides a mock function with given fields: dest, query, args

Jump to

Keyboard shortcuts

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