Documentation ¶
Overview ¶
Package models defines the Models required in the project
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResultantTask ¶
type ResultantTask struct { TimeCreatedModified string `json:"timeCreated" bson:"timeCreated"` TaskTitle string `json:"taskTitle" bson:"taskTitle"` DueDate string `json:"dueDate" bson:"dueDate"` TaskDone bool `json:"taskDone" bson:"taskDone"` }
ResultantTask represents and defines a Task-List Item to be sent
func ConvertToResultantTask ¶
func ConvertToResultantTask(t Task) ResultantTask
ConvertToResultantTask is responsible for converting system understandable JSON Task-list item into a more user friendly Task-list item JSON
Click to show internal directories.
Click to hide internal directories.