mock_database

package
v0.0.0-...-fe50809 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_database is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDatabase

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

MockDatabase is a mock of Database interface.

func NewMockDatabase

func NewMockDatabase(ctrl *gomock.Controller) *MockDatabase

NewMockDatabase creates a new mock instance.

func (*MockDatabase) Close

func (m *MockDatabase) Close()

Close mocks base method.

func (*MockDatabase) EXPECT

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

func (*MockDatabase) GetDB

func (m *MockDatabase) GetDB() *sql.DB

GetDB mocks base method.

func (*MockDatabase) GetDriver

func (m *MockDatabase) GetDriver() *sql0.Driver

GetDriver mocks base method.

type MockDatabaseMockRecorder

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

MockDatabaseMockRecorder is the mock recorder for MockDatabase.

func (*MockDatabaseMockRecorder) Close

func (mr *MockDatabaseMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockDatabaseMockRecorder) GetDB

func (mr *MockDatabaseMockRecorder) GetDB() *gomock.Call

GetDB indicates an expected call of GetDB.

func (*MockDatabaseMockRecorder) GetDriver

func (mr *MockDatabaseMockRecorder) GetDriver() *gomock.Call

GetDriver indicates an expected call of GetDriver.

Jump to

Keyboard shortcuts

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