mock_connection

package
v1.2.0-beta.11 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_connection is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSQLConnector

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

MockSQLConnector is a mock of SQLConnector interface.

func NewMockSQLConnector

func NewMockSQLConnector(ctrl *gomock.Controller) *MockSQLConnector

NewMockSQLConnector creates a new mock instance.

func (*MockSQLConnector) Connect

func (m *MockSQLConnector) Connect(driver, connectionURL string) (*ent.Client, error)

Connect mocks base method.

func (*MockSQLConnector) EXPECT

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

type MockSQLConnectorMockRecorder

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

MockSQLConnectorMockRecorder is the mock recorder for MockSQLConnector.

func (*MockSQLConnectorMockRecorder) Connect

func (mr *MockSQLConnectorMockRecorder) Connect(driver, connectionURL interface{}) *gomock.Call

Connect indicates an expected call of Connect.

Jump to

Keyboard shortcuts

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