mocksql

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocksql is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDBClient

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

MockDBClient is a mock of DBClient interface.

func NewMockDBClient

func NewMockDBClient(ctrl *gomock.Controller) *MockDBClient

NewMockDBClient creates a new mock instance.

func (*MockDBClient) EXPECT

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

func (*MockDBClient) First

func (m *MockDBClient) First(arg0 interface{}, arg1 ...interface{}) *gorm.DB

First mocks base method.

func (*MockDBClient) Save

func (m *MockDBClient) Save(arg0 interface{}) *gorm.DB

Save mocks base method.

func (*MockDBClient) Where

func (m *MockDBClient) Where(arg0 interface{}, arg1 ...interface{}) *gorm.DB

Where mocks base method.

type MockDBClientMockRecorder

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

MockDBClientMockRecorder is the mock recorder for MockDBClient.

func (*MockDBClientMockRecorder) First

func (mr *MockDBClientMockRecorder) First(arg0 interface{}, arg1 ...interface{}) *gomock.Call

First indicates an expected call of First.

func (*MockDBClientMockRecorder) Save

func (mr *MockDBClientMockRecorder) Save(arg0 interface{}) *gomock.Call

Save indicates an expected call of Save.

func (*MockDBClientMockRecorder) Where

func (mr *MockDBClientMockRecorder) Where(arg0 interface{}, arg1 ...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