Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EducationMaterial ¶
type EducationMaterial struct { ID string `json:"id,omitempty" db:"id"` TaskID string `json:"task_id" db:"task_id"` Name string `json:"name" db:"name"` Description string `json:"description" db:"description"` Category string `json:"category" db:"category"` MaterialLink string `json:"material_link" db:"material_url"` CreatedAt string `json:"created_at,omitempty" db:"created_at"` UpdatedAt string `json:"updated_at,omitempty" db:"updated_at"` }
type Task ¶
type Task struct { ID string `json:"id,omitempty" db:"id"` Name string `json:"name" db:"name"` Description string `json:"description" db:"description"` Status TaskStatus `json:"status" db:"status"` UserID string `json:"user_id,omitempty" db:"user_id"` DueTo string `json:"due_to" db:"due_to"` CreatedAt string `json:"created_at,omitempty" db:"created_at"` UpdatedAt string `json:"updated_at,omitempty" db:"updated_at"` }
type TaskStatus ¶
type TaskStatus string
var ( TaskStatusTODO TaskStatus = "todo" TaskStatusInProgress TaskStatus = "in progress" TaskStatusReview TaskStatus = "review" TaskStatusFinished TaskStatus = "finished" )
type TaskWithMaterials ¶
type TaskWithMaterials struct { Task *Task EducationMaterials []*EducationMaterial }
Click to show internal directories.
Click to hide internal directories.