mock_postgres

package
v0.88.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: BSD-3-Clause Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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