mocks

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rows

type Rows struct {
	mock.Mock
}

Rows is an autogenerated mock type for the Rows type

func NewRows

func NewRows(t mockConstructorTestingTNewRows) *Rows

NewRows creates a new instance of Rows. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Rows) Close

func (_m *Rows) Close()

Close provides a mock function with given fields:

func (*Rows) CommandTag

func (_m *Rows) CommandTag() pgconn.CommandTag

CommandTag provides a mock function with given fields:

func (*Rows) Err

func (_m *Rows) Err() error

Err provides a mock function with given fields:

func (*Rows) FieldDescriptions

func (_m *Rows) FieldDescriptions() []pgproto3.FieldDescription

FieldDescriptions provides a mock function with given fields:

func (*Rows) Next

func (_m *Rows) Next() bool

Next provides a mock function with given fields:

func (*Rows) RawValues

func (_m *Rows) RawValues() [][]byte

RawValues provides a mock function with given fields:

func (*Rows) Scan

func (_m *Rows) Scan(dest ...interface{}) error

Scan provides a mock function with given fields: dest

func (*Rows) Values

func (_m *Rows) Values() ([]interface{}, error)

Values 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