Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSubscriptionService ¶
func NewSubscriptionService() *subscriptionService
NewSubscriptionService creates a new instance of the SubscriptionService.
Types ¶
type OverDueService ¶
type OverDueService interface { Start() Stop() }
func NewOverDueService ¶
func NewOverDueService(subSvc SubscriptionService, todoRepo TodoRepository) OverDueService
NewOverDueService creates a new instance of the OverDueService.
type SubscriptionService ¶
type TodoRepository ¶
type TodoRepository interface { storage.GenericRepository[shared.Todo] }
TodoRepository defines the interface for todo-related database operations.
func NewTodoRepository ¶
func NewTodoRepository() TodoRepository
NewTodoRepository creates a new TodoRepository instance using the shared.Todo type.
Click to show internal directories.
Click to hide internal directories.