mock_query

package
v2.0.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_query is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCondition

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

MockCondition is a mock of Condition interface.

func NewMockCondition

func NewMockCondition(ctrl *gomock.Controller) *MockCondition

NewMockCondition creates a new mock instance.

func (*MockCondition) And

func (m *MockCondition) And(str string, args ...any)

And mocks base method.

func (*MockCondition) AndCond

func (m *MockCondition) AndCond(other query.Condition)

AndCond mocks base method.

func (*MockCondition) EXPECT

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

func (*MockCondition) Or

func (m *MockCondition) Or(str string, args ...any)

Or mocks base method.

func (*MockCondition) OrCond

func (m *MockCondition) OrCond(other query.Condition)

OrCond mocks base method.

func (*MockCondition) Query

func (m *MockCondition) Query() (string, []any, error)

Query mocks base method.

type MockConditionMockRecorder

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

MockConditionMockRecorder is the mock recorder for MockCondition.

func (*MockConditionMockRecorder) And

func (mr *MockConditionMockRecorder) And(str interface{}, args ...interface{}) *gomock.Call

And indicates an expected call of And.

func (*MockConditionMockRecorder) AndCond

func (mr *MockConditionMockRecorder) AndCond(other interface{}) *gomock.Call

AndCond indicates an expected call of AndCond.

func (*MockConditionMockRecorder) Or

func (mr *MockConditionMockRecorder) Or(str interface{}, args ...interface{}) *gomock.Call

Or indicates an expected call of Or.

func (*MockConditionMockRecorder) OrCond

func (mr *MockConditionMockRecorder) OrCond(other interface{}) *gomock.Call

OrCond indicates an expected call of OrCond.

func (*MockConditionMockRecorder) Query

func (mr *MockConditionMockRecorder) Query() *gomock.Call

Query indicates an expected call of Query.

type MockQuery

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

MockQuery is a mock of Query interface.

func NewMockQuery

func NewMockQuery(ctrl *gomock.Controller) *MockQuery

NewMockQuery creates a new mock instance.

func (*MockQuery) EXPECT

func (m *MockQuery) EXPECT() *MockQueryMockRecorder

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

func (*MockQuery) Query

func (m *MockQuery) Query() (string, []any, error)

Query mocks base method.

type MockQueryMockRecorder

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

MockQueryMockRecorder is the mock recorder for MockQuery.

func (*MockQueryMockRecorder) Query

func (mr *MockQueryMockRecorder) Query() *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