mocks

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FabricCADB

type FabricCADB struct {
	mock.Mock
}

FabricCADB is an autogenerated mock type for the FabricCADB type

func (*FabricCADB) BeginTx

func (_m *FabricCADB) BeginTx() dbutil.FabricCATx

BeginTx provides a mock function with given fields:

func (*FabricCADB) Exec added in v1.3.0

func (_m *FabricCADB) Exec(query string, args ...interface{}) (sql.Result, error)

Exec provides a mock function with given fields: query, args

func (*FabricCADB) IsInitialized

func (_m *FabricCADB) IsInitialized() bool

IsInitialized provides a mock function with given fields:

func (*FabricCADB) MustBegin

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

MustBegin provides a mock function with given fields:

func (*FabricCADB) NamedExec

func (_m *FabricCADB) NamedExec(query string, arg interface{}) (sql.Result, error)

NamedExec provides a mock function with given fields: query, arg

func (*FabricCADB) Rebind

func (_m *FabricCADB) Rebind(query string) string

Rebind provides a mock function with given fields: query

func (*FabricCADB) Select

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

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

type FabricCATx

type FabricCATx struct {
	mock.Mock
}

FabricCATx is an autogenerated mock type for the FabricCATx type

func (*FabricCATx) Commit

func (_m *FabricCATx) Commit() error

Commit provides a mock function with given fields:

func (*FabricCATx) Exec

func (_m *FabricCATx) Exec(query string, args ...interface{}) (sql.Result, error)

Exec provides a mock function with given fields: query, args

func (*FabricCATx) Queryx added in v1.4.0

func (_m *FabricCATx) Queryx(query string, args ...interface{}) (*sqlx.Rows, error)

Queryx provides a mock function with given fields: query, args

func (*FabricCATx) Rebind

func (_m *FabricCATx) Rebind(query string) string

Rebind provides a mock function with given fields: query

func (*FabricCATx) Rollback

func (_m *FabricCATx) Rollback() error

Rollback provides a mock function with given fields:

func (*FabricCATx) Select

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

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

type Result

type Result struct {
	mock.Mock
}

Result is an autogenerated mock type for the Result type

func (*Result) LastInsertId

func (_m *Result) LastInsertId() (int64, error)

LastInsertId provides a mock function with given fields:

func (*Result) RowsAffected

func (_m *Result) RowsAffected() (int64, error)

RowsAffected provides a mock function with given fields:

Jump to

Keyboard shortcuts

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