mock_dao

package
v0.1.9 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_dao is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLogRepo

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

MockLogRepo is a mock of LogRepo interface.

func NewMockLogRepo

func NewMockLogRepo(ctrl *gomock.Controller) *MockLogRepo

NewMockLogRepo creates a new mock instance.

func (*MockLogRepo) All

func (m *MockLogRepo) All() ([]*models.LogEntry, error)

All mocks base method.

func (*MockLogRepo) EXPECT

func (m *MockLogRepo) EXPECT() *MockLogRepoMockRecorder

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

func (*MockLogRepo) Insert

func (m *MockLogRepo) Insert(entry models.LogEntry) error

Insert mocks base method.

type MockLogRepoMockRecorder

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

MockLogRepoMockRecorder is the mock recorder for MockLogRepo.

func (*MockLogRepoMockRecorder) All

func (mr *MockLogRepoMockRecorder) All() *gomock.Call

All indicates an expected call of All.

func (*MockLogRepoMockRecorder) Insert

func (mr *MockLogRepoMockRecorder) Insert(entry any) *gomock.Call

Insert indicates an expected call of Insert.

Jump to

Keyboard shortcuts

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