package
module
Version:
v0.0.0-...-5c2bd13
Opens a new window with list of versions in this module.
Published: Dec 9, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Add will add a new todo based on a message
Complete will set the complete boolean to true, marking a todo as
completed
Delete will remove a Todo from the Todo list
type Todo struct {
ID string `json:"id"`
Message string `json:"message"`
Complete bool `json:"complete"`
}
Todo data structure for a task with a description of what to do
Get retrieves all elements from the todo list
Source Files
¶
Click to show internal directories.
Click to hide internal directories.