Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct { ID bson.ObjectId `json:"id" bson:"_id,omitempty"` Text string `json:"text" bson:"text,omitempty"` Date time.Time `json:"date" bson:"date,omitempty"` }
Task is a task object that has datatypes for the task domain (Task)
func TaskFromContext ¶
TaskFromContext gets task from context
func TaskMustFromContext ¶
TaskMustFromContext gets task from context. if can't make panic
Click to show internal directories.
Click to hide internal directories.