mockrows

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mockrows is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPingable

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

MockPingable is a mock of Pingable interface.

func NewMockPingable

func NewMockPingable(ctrl *gomock.Controller) *MockPingable

NewMockPingable creates a new mock instance.

func (*MockPingable) EXPECT

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

func (*MockPingable) Ping

func (m *MockPingable) Ping() error

Ping mocks base method.

func (*MockPingable) PingContext

func (m *MockPingable) PingContext(arg0 context.Context) error

PingContext mocks base method.

type MockPingableMockRecorder

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

MockPingableMockRecorder is the mock recorder for MockPingable.

func (*MockPingableMockRecorder) Ping

func (mr *MockPingableMockRecorder) Ping() *gomock.Call

Ping indicates an expected call of Ping.

func (*MockPingableMockRecorder) PingContext

func (mr *MockPingableMockRecorder) PingContext(arg0 any) *gomock.Call

PingContext indicates an expected call of PingContext.

type MockRows

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

MockRows is a mock of Rows interface.

func NewMockRows

func NewMockRows(ctrl *gomock.Controller) *MockRows

NewMockRows creates a new mock instance.

func (*MockRows) Close

func (m *MockRows) Close() error

Close mocks base method.

func (*MockRows) EXPECT

func (m *MockRows) EXPECT() *MockRowsMockRecorder

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

func (*MockRows) Err

func (m *MockRows) Err() error

Err mocks base method.

func (*MockRows) Next

func (m *MockRows) Next() bool

Next mocks base method.

func (*MockRows) Scan

func (m *MockRows) Scan(arg0 ...any) error

Scan mocks base method.

type MockRowsMockRecorder

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

MockRowsMockRecorder is the mock recorder for MockRows.

func (*MockRowsMockRecorder) Close

func (mr *MockRowsMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockRowsMockRecorder) Err

func (mr *MockRowsMockRecorder) Err() *gomock.Call

Err indicates an expected call of Err.

func (*MockRowsMockRecorder) Next

func (mr *MockRowsMockRecorder) Next() *gomock.Call

Next indicates an expected call of Next.

func (*MockRowsMockRecorder) Scan

func (mr *MockRowsMockRecorder) Scan(arg0 ...any) *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