Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockRedisRepository
- func (m *MockRedisRepository) Del(arg0 context.Context, arg1 string) error
- func (m *MockRedisRepository) EXPECT() *MockRedisRepositoryMockRecorder
- func (m *MockRedisRepository) Get(arg0 context.Context, arg1 string) error
- func (m *MockRedisRepository) Set(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) error
- type MockRedisRepositoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRedisRepository ¶
type MockRedisRepository struct {
// contains filtered or unexported fields
}
MockRedisRepository is a mock of RedisRepository interface.
func NewMockRedisRepository ¶
func NewMockRedisRepository(ctrl *gomock.Controller) *MockRedisRepository
NewMockRedisRepository creates a new mock instance.
func (*MockRedisRepository) Del ¶
func (m *MockRedisRepository) Del(arg0 context.Context, arg1 string) error
Del mocks base method.
func (*MockRedisRepository) EXPECT ¶
func (m *MockRedisRepository) EXPECT() *MockRedisRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRedisRepositoryMockRecorder ¶
type MockRedisRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRedisRepositoryMockRecorder is the mock recorder for MockRedisRepository.
func (*MockRedisRepositoryMockRecorder) Del ¶
func (mr *MockRedisRepositoryMockRecorder) Del(arg0, arg1 any) *gomock.Call
Del indicates an expected call of Del.
Click to show internal directories.
Click to hide internal directories.