mock_cache

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_cache is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHistoryQuerier

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

MockHistoryQuerier is a mock of HistoryQuerier interface.

func NewMockHistoryQuerier

func NewMockHistoryQuerier(ctrl *gomock.Controller) *MockHistoryQuerier

NewMockHistoryQuerier creates a new mock instance.

func (*MockHistoryQuerier) EXPECT

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

func (*MockHistoryQuerier) GetHistory

func (m *MockHistoryQuerier) GetHistory(ctx context.Context, limit int64) ([]db.History, error)

GetHistory mocks base method.

func (*MockHistoryQuerier) GetShortcuts

func (m *MockHistoryQuerier) GetShortcuts(ctx context.Context) ([]db.Shortcut, error)

GetShortcuts mocks base method.

type MockHistoryQuerierMockRecorder

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

MockHistoryQuerierMockRecorder is the mock recorder for MockHistoryQuerier.

func (*MockHistoryQuerierMockRecorder) GetHistory

func (mr *MockHistoryQuerierMockRecorder) GetHistory(ctx, limit interface{}) *gomock.Call

GetHistory indicates an expected call of GetHistory.

func (*MockHistoryQuerierMockRecorder) GetShortcuts

func (mr *MockHistoryQuerierMockRecorder) GetShortcuts(ctx interface{}) *gomock.Call

GetShortcuts indicates an expected call of GetShortcuts.

Jump to

Keyboard shortcuts

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