postgres_mock

package
v0.0.0-...-8982ac9 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package postgres_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPostgresClientInterface

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

MockPostgresClientInterface is a mock of PostgresClientInterface interface.

func NewMockPostgresClientInterface

func NewMockPostgresClientInterface(ctrl *gomock.Controller) *MockPostgresClientInterface

NewMockPostgresClientInterface creates a new mock instance.

func (*MockPostgresClientInterface) AutoMigrate

func (m *MockPostgresClientInterface) AutoMigrate(dst ...interface{}) error

AutoMigrate mocks base method.

func (*MockPostgresClientInterface) Clauses

func (m *MockPostgresClientInterface) Clauses(conds ...clause.Expression) *gorm.DB

Clauses mocks base method.

func (*MockPostgresClientInterface) Create

func (m *MockPostgresClientInterface) Create(value interface{}) *gorm.DB

Create mocks base method.

func (*MockPostgresClientInterface) EXPECT

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

func (*MockPostgresClientInterface) Find

func (m *MockPostgresClientInterface) Find(dest interface{}, conds ...interface{}) *gorm.DB

Find mocks base method.

func (*MockPostgresClientInterface) First

func (m *MockPostgresClientInterface) First(dest interface{}, conds ...interface{}) *gorm.DB

First mocks base method.

func (*MockPostgresClientInterface) Save

func (m *MockPostgresClientInterface) Save(value interface{}) *gorm.DB

Save mocks base method.

func (*MockPostgresClientInterface) Where

func (m *MockPostgresClientInterface) Where(query interface{}, args ...interface{}) *gorm.DB

Where mocks base method.

type MockPostgresClientInterfaceMockRecorder

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

MockPostgresClientInterfaceMockRecorder is the mock recorder for MockPostgresClientInterface.

func (*MockPostgresClientInterfaceMockRecorder) AutoMigrate

func (mr *MockPostgresClientInterfaceMockRecorder) AutoMigrate(dst ...interface{}) *gomock.Call

AutoMigrate indicates an expected call of AutoMigrate.

func (*MockPostgresClientInterfaceMockRecorder) Clauses

func (mr *MockPostgresClientInterfaceMockRecorder) Clauses(conds ...interface{}) *gomock.Call

Clauses indicates an expected call of Clauses.

func (*MockPostgresClientInterfaceMockRecorder) Create

func (mr *MockPostgresClientInterfaceMockRecorder) Create(value interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockPostgresClientInterfaceMockRecorder) Find

func (mr *MockPostgresClientInterfaceMockRecorder) Find(dest interface{}, conds ...interface{}) *gomock.Call

Find indicates an expected call of Find.

func (*MockPostgresClientInterfaceMockRecorder) First

func (mr *MockPostgresClientInterfaceMockRecorder) First(dest interface{}, conds ...interface{}) *gomock.Call

First indicates an expected call of First.

func (*MockPostgresClientInterfaceMockRecorder) Save

func (mr *MockPostgresClientInterfaceMockRecorder) Save(value interface{}) *gomock.Call

Save indicates an expected call of Save.

func (*MockPostgresClientInterfaceMockRecorder) Where

func (mr *MockPostgresClientInterfaceMockRecorder) Where(query interface{}, args ...interface{}) *gomock.Call

Where indicates an expected call of Where.

Jump to

Keyboard shortcuts

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