Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MockLinkData []domain.Link = []domain.Link{
{Id: "testid1", OriginalURL: "https://example.com/link1"},
{Id: "testid2", OriginalURL: "https://example.com/link2"},
{Id: "testid3", OriginalURL: "https://example.com/link3"},
}
Functions ¶
This section is empty.
Types ¶
type MockLinkRepo ¶
func NewMockLinkRepo ¶
func NewMockLinkRepo() *MockLinkRepo
type MockRedisCache ¶
func NewMockRedisCache ¶
func NewMockRedisCache() *MockRedisCache
func (*MockRedisCache) Delete ¶
func (m *MockRedisCache) Delete(ctx context.Context, key string) error
Click to show internal directories.
Click to hide internal directories.