mock_postgres

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package mock_postgres is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPgxIface

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

MockPgxIface is a mock of PgxIface interface.

func NewMockPgxIface

func NewMockPgxIface(ctrl *gomock.Controller) *MockPgxIface

NewMockPgxIface creates a new mock instance.

func (*MockPgxIface) Close

func (m *MockPgxIface) Close()

Close mocks base method.

func (*MockPgxIface) EXPECT

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

func (*MockPgxIface) Query added in v0.5.5

func (m *MockPgxIface) Query(ctx context.Context, sql string, args ...any) (pgx.Rows, error)

Query mocks base method.

type MockPgxIfaceMockRecorder

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

MockPgxIfaceMockRecorder is the mock recorder for MockPgxIface.

func (*MockPgxIfaceMockRecorder) Close

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

Close indicates an expected call of Close.

func (*MockPgxIfaceMockRecorder) Query added in v0.5.5

func (mr *MockPgxIfaceMockRecorder) Query(ctx, sql interface{}, args ...interface{}) *gomock.Call

Query indicates an expected call of Query.

Jump to

Keyboard shortcuts

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