Documentation ¶
Index ¶
- func CreateTodo(title string, desc string) (string, error)
- func DbConnection() (*mongo.Client, error)
- func DeleteAllTodos() (string, error)
- func DeleteCompOrIncompTODOS(todoStatus bool) (string, error)
- func DeleteTodoById(id string) (string, error)
- func ListAllTodos() ([]models.TodoModel, error)
- func ListTodoByID(id string) (models.TodoModel, error)
- func ListTodoByStatus(status bool) ([]models.TodoModel, error)
- func MarkTodosAsCompOrIncomp(id string, isCompleted bool, markAll bool) (string, error)
- func UpdateTodo(id, title, desc string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DbConnection ¶
func DeleteAllTodos ¶
func DeleteCompOrIncompTODOS ¶
func DeleteTodoById ¶
func ListAllTodos ¶
func MarkTodosAsCompOrIncomp ¶
func UpdateTodo ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.