Documentation
¶
Index ¶
- type Todo
- type TodosList
- func (todosList *TodosList) Add(content string)
- func (todosList *TodosList) Delete(index int) error
- func (todosList *TodosList) GetTodo(index int) (Todo, error)
- func (todosList *TodosList) Print()
- func (todosList *TodosList) ToggleStatus(index int) error
- func (todosList *TodosList) UpdateContent(index int, content string) error
- func (todosList *TodosList) ValidateIndex(index int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TodosList ¶
type TodosList []Todo
func (*TodosList) ToggleStatus ¶
func (*TodosList) UpdateContent ¶
func (*TodosList) ValidateIndex ¶
Click to show internal directories.
Click to hide internal directories.