Documentation ¶
Index ¶
- func Wrap(err error, message string) error
- type ToDoStorage
- func (s *ToDoStorage) Create(ctx context.Context, item *todoapp.ToDoItem) error
- func (s *ToDoStorage) Delete(ctx context.Context, id string) error
- func (s *ToDoStorage) Fetch(ctx context.Context, id string) (*todoapp.ToDoItem, error)
- func (s *ToDoStorage) List(ctx context.Context) ([]todoapp.ToDoItem, error)
- func (s *ToDoStorage) Update(ctx context.Context, item *todoapp.ToDoItem) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.