Versions in this module Expand all Collapse all v1 v1.0.0 May 22, 2026 Changes in this version + var MockLinkData []domain.Link = []domain.Link + type MockLinkRepo struct + Links []domain.Link + func NewMockLinkRepo() *MockLinkRepo + func (m *MockLinkRepo) All(ctx context.Context) ([]domain.Link, error) + func (m *MockLinkRepo) Create(ctx context.Context, link domain.Link) error + func (m *MockLinkRepo) Delete(ctx context.Context, id string) error + func (m *MockLinkRepo) Get(ctx context.Context, id string) (domain.Link, error) + type MockRedisCache struct + Store map[string]string + TTL map[string]time.Time + func NewMockRedisCache() *MockRedisCache + func (m *MockRedisCache) Delete(ctx context.Context, key string) error + func (m *MockRedisCache) Get(ctx context.Context, key string) (string, error) + func (m *MockRedisCache) Set(ctx context.Context, key string, val string) error