mocks_mysql

package
v0.0.0-...-d98c8e0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IMysql

type IMysql struct {
	mock.Mock
}

IMysql is an autogenerated mock type for the IMysql type

func (*IMysql) CreateOrUpdate

func (_m *IMysql) CreateOrUpdate(ctx context.Context, db *sqlx.DB, data interface{}, query string) (int64, error)

CreateOrUpdate provides a mock function with given fields: ctx, db, data, query

func (*IMysql) Get

func (_m *IMysql) Get(_a0 context.Context, _a1 *sqlx.DB, _a2 interface{}, _a3 *util.Query, _a4 string) error

Get provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4

func (*IMysql) Select

func (_m *IMysql) Select(_a0 context.Context, _a1 *sqlx.DB, _a2 *[]entity.Question, _a3 *util.Query, _a4 string) error

Select provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4

Jump to

Keyboard shortcuts

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