Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct { Name string `bson:"name,omitempty" json:"name"` Date string `bson:"date,omitempty" json:"date"` Time string `bson:"time,omitempty" json:"time"` Description string `bson:"description,omitempty" json:"description"` // Only used to store the old category when updating a task OldCategory string `bson:"-" json:"oldCategory"` Category string `bson:"category,omitempty" json:"category"` Username string `bson:"username" json:"-"` Index int64 `bson:"index,omitempty" json:"index"` Predecessor int64 `bson:"predecessor,omitempty" json:"predecessor"` Successor int64 `bson:"successor,omitempty" json:"successor"` }
func (*Task) HasPredecessor ¶
func (*Task) HasSuccessor ¶
func (*Task) SetPredecessor ¶
func (*Task) SetSuccessor ¶
Click to show internal directories.
Click to hide internal directories.