Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayTodos ¶
func DisplayTodos(todos *[]Todo)
/ Displays a todo item in a neatly formatted manner
Types ¶
type Todo ¶
type Todo struct { ID int Description string Completed bool DateCreated time.Time DueDate time.Time }
func DeserializeTodo ¶
Deserialize a todo from its string representation the [data] must contain 5 items
func (*Todo) SerializeTodo ¶
Serializes a todo into an slice of strings suitable for storing in a CSV
Click to show internal directories.
Click to hide internal directories.