Documentation ¶
Index ¶
- func CreateTodo(title, description string, completed bool) (todo models.Todo, err error)
- func DeleteAllTodos()
- func DeleteTodo(todo *models.Todo) error
- func FetchById(id uint) (todo models.Todo, err error)
- func FetchPendingTodos(page, pageSize int, completed bool) ([]models.Todo, int)
- func FetchTodos(page, pageSize int) ([]models.Todo, int)
- func UpdateTodo(id uint, title, description string, completed bool) (todo models.Todo, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTodo ¶
func DeleteAllTodos ¶
func DeleteAllTodos()
func DeleteTodo ¶
func FetchPendingTodos ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.