Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Day ¶
Day is composition of a date and a TodoList. It is supposed to contain all todos for the given date.
type DayList ¶
type DayList []Day
DayList is a simple list of Days
func (DayList) DayByDate ¶
DayByDate returns a copy of the day for the given date from the DayList or a newly initialized day for the date if the list does not contain it yet
type TodoList ¶
type TodoList []Todo
TodoList is a simple list of Todos
func (*TodoList) Insert ¶
Insert inserts all Todos from the parameter TodoList into the list on which the method is called
func (*TodoList) InsertTodo ¶
InsertTodo checks if a Todo is already in the todo list and if not adds it In case the Todo is already in the list but has a different Complete Status, the todo will be overwritten
Click to show internal directories.
Click to hide internal directories.