Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: ./user.go
Generated by this command:
mockgen -source=./user.go -package=cachemocks -destination=mocks/user.mock.go UserCache
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) Delete ¶
func (m *MockUserCache) Delete(ctx context.Context, id int64) error
Delete mocks base method.
func (*MockUserCache) EXPECT ¶
func (m *MockUserCache) EXPECT() *MockUserCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUserCacheMockRecorder ¶
type MockUserCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockUserCacheMockRecorder is the mock recorder for MockUserCache.
func (*MockUserCacheMockRecorder) Delete ¶
func (mr *MockUserCacheMockRecorder) Delete(ctx, id any) *gomock.Call
Delete indicates an expected call of Delete.
Click to show internal directories.
Click to hide internal directories.