mocks

package
v0.0.0-...-faa866c Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockQueryContexter

type MockQueryContexter struct {
	// contains filtered or unexported fields
}

MockQueryContexter is a mock of QueryContexter interface.

func NewMockQueryContexter

func NewMockQueryContexter(ctrl *gomock.Controller) *MockQueryContexter

NewMockQueryContexter creates a new mock instance.

func (*MockQueryContexter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockQueryContexter) QueryContext

func (m *MockQueryContexter) QueryContext(arg0 context.Context, arg1 string, arg2 ...interface{}) (*sql.Rows, error)

QueryContext mocks base method.

type MockQueryContexterMockRecorder

type MockQueryContexterMockRecorder struct {
	// contains filtered or unexported fields
}

MockQueryContexterMockRecorder is the mock recorder for MockQueryContexter.

func (*MockQueryContexterMockRecorder) QueryContext

func (mr *MockQueryContexterMockRecorder) QueryContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

QueryContext indicates an expected call of QueryContext.

type MockQueryRowContexter

type MockQueryRowContexter struct {
	// contains filtered or unexported fields
}

MockQueryRowContexter is a mock of QueryRowContexter interface.

func NewMockQueryRowContexter

func NewMockQueryRowContexter(ctrl *gomock.Controller) *MockQueryRowContexter

NewMockQueryRowContexter creates a new mock instance.

func (*MockQueryRowContexter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockQueryRowContexter) QueryRowContext

func (m *MockQueryRowContexter) QueryRowContext(arg0 context.Context, arg1 string, arg2 ...interface{}) *sql.Row

QueryRowContext mocks base method.

type MockQueryRowContexterMockRecorder

type MockQueryRowContexterMockRecorder struct {
	// contains filtered or unexported fields
}

MockQueryRowContexterMockRecorder is the mock recorder for MockQueryRowContexter.

func (*MockQueryRowContexterMockRecorder) QueryRowContext

func (mr *MockQueryRowContexterMockRecorder) QueryRowContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

QueryRowContext indicates an expected call of QueryRowContext.

Jump to

Keyboard shortcuts

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