Documentation ¶
Index ¶
- type Repository
- func (r *Repository) Create(ctx context.Context, t *todo.Todo) error
- func (r *Repository) Delete(ctx context.Context, id todo.ID) error
- func (r *Repository) FindList(ctx context.Context) ([]*todo.Todo, error)
- func (r *Repository) UpdateDone(ctx context.Context, id todo.ID, done bool) error
- func (r *Repository) UpdateTitle(ctx context.Context, id todo.ID, title string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
Repository inmemory todo repository
func (*Repository) UpdateDone ¶
UpdateDone 完了状態の更新
func (*Repository) UpdateTitle ¶
UpdateTitle タイトル更新
Click to show internal directories.
Click to hide internal directories.