mocks

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2018 License: MIT Imports: 3 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 MockRowsScanner

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

MockRowsScanner is a mock of RowsScanner interface

func NewMockRowsScanner

func NewMockRowsScanner(ctrl *gomock.Controller) *MockRowsScanner

NewMockRowsScanner creates a new mock instance

func (*MockRowsScanner) Close

func (m *MockRowsScanner) Close() error

Close mocks base method

func (*MockRowsScanner) ColumnTypes

func (m *MockRowsScanner) ColumnTypes() ([]*sql.ColumnType, error)

ColumnTypes mocks base method

func (*MockRowsScanner) Columns

func (m *MockRowsScanner) Columns() ([]string, error)

Columns mocks base method

func (*MockRowsScanner) EXPECT

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

func (*MockRowsScanner) Err

func (m *MockRowsScanner) Err() error

Err mocks base method

func (*MockRowsScanner) Next

func (m *MockRowsScanner) Next() bool

Next mocks base method

func (*MockRowsScanner) NextResultSet

func (m *MockRowsScanner) NextResultSet() bool

NextResultSet mocks base method

func (*MockRowsScanner) Scan

func (m *MockRowsScanner) Scan(dest ...interface{}) error

Scan mocks base method

type MockRowsScannerMockRecorder

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

MockRowsScannerMockRecorder is the mock recorder for MockRowsScanner

func (*MockRowsScannerMockRecorder) Close

Close indicates an expected call of Close

func (*MockRowsScannerMockRecorder) ColumnTypes

func (mr *MockRowsScannerMockRecorder) ColumnTypes() *gomock.Call

ColumnTypes indicates an expected call of ColumnTypes

func (*MockRowsScannerMockRecorder) Columns

func (mr *MockRowsScannerMockRecorder) Columns() *gomock.Call

Columns indicates an expected call of Columns

func (*MockRowsScannerMockRecorder) Err

Err indicates an expected call of Err

func (*MockRowsScannerMockRecorder) Next

Next indicates an expected call of Next

func (*MockRowsScannerMockRecorder) NextResultSet

func (mr *MockRowsScannerMockRecorder) NextResultSet() *gomock.Call

NextResultSet indicates an expected call of NextResultSet

func (*MockRowsScannerMockRecorder) Scan

func (mr *MockRowsScannerMockRecorder) Scan(dest ...interface{}) *gomock.Call

Scan indicates an expected call of Scan

type MockScanner

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

MockScanner is a mock of Scanner interface

func NewMockScanner

func NewMockScanner(ctrl *gomock.Controller) *MockScanner

NewMockScanner creates a new mock instance

func (*MockScanner) EXPECT

func (m *MockScanner) EXPECT() *MockScannerMockRecorder

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

func (*MockScanner) Scan

func (m *MockScanner) Scan(dest ...interface{}) error

Scan mocks base method

type MockScannerMockRecorder

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

MockScannerMockRecorder is the mock recorder for MockScanner

func (*MockScannerMockRecorder) Scan

func (mr *MockScannerMockRecorder) Scan(dest ...interface{}) *gomock.Call

Scan indicates an expected call of Scan

Jump to

Keyboard shortcuts

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