Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateModels ¶
MigrateModels migrates the domain models using the given DB connection.
Types ¶
type Task ¶
type Task struct {
gorm.Model
Title string `json:"title" validate:"required,min=3"`
Description string `json:"description"`
Deadline *time.Time `json:"deadline"`
CompletedAt *time.Time `json:"completed_at"`
}
Task defines the scope of an action a User implements in their tasks dashboard.
Click to show internal directories.
Click to hide internal directories.