cachemocks

package
v0.0.0-...-d13da26 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package cachemocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockUserCache

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

MockUserCache is a mock of UserCache interface.

func NewMockUserCache

func NewMockUserCache(ctrl *gomock.Controller) *MockUserCache

NewMockUserCache creates a new mock instance.

func (*MockUserCache) EXPECT

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

func (*MockUserCache) Get

func (m *MockUserCache) Get(ctx context.Context, id int64) (domain.User, error)

Get mocks base method.

func (*MockUserCache) Set

func (m *MockUserCache) Set(ctx context.Context, u domain.User) error

Set mocks base method.

type MockUserCacheMockRecorder

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

MockUserCacheMockRecorder is the mock recorder for MockUserCache.

func (*MockUserCacheMockRecorder) Get

func (mr *MockUserCacheMockRecorder) Get(ctx, id interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockUserCacheMockRecorder) Set

func (mr *MockUserCacheMockRecorder) Set(ctx, u interface{}) *gomock.Call

Set indicates an expected call of Set.

Jump to

Keyboard shortcuts

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