Documentation ¶
Index ¶
- type Usecase
- func (uc *Usecase) Create(ctx context.Context, title string) (*todo.Todo, error)
- func (uc *Usecase) Delete(ctx context.Context, id int64) error
- func (uc *Usecase) Done(ctx context.Context, id int64) error
- func (uc *Usecase) GetList(ctx context.Context) ([]*todo.Todo, error)
- func (uc *Usecase) UnDone(ctx context.Context, id int64) error
- func (uc *Usecase) UpdateTitle(ctx context.Context, id int64, title string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.