Creating Projects, Tasks and editing Task details, done/resume working.

This commit is contained in:
Anis Ahmad
2020-05-30 01:30:26 +06:00
parent 6f9580d98a
commit 30cd7f40a1
13 changed files with 564 additions and 254 deletions

View File

@@ -13,6 +13,7 @@ type TaskRepository interface {
GetByID(ID string) (model.Task, error)
GetByUUID(UUID string) (model.Task, error)
Create(project model.Project, title, details, UUID string, dueDate int64) (model.Task, error)
Update(p *model.Task) error
Delete(p *model.Task) error
Update(t *model.Task) error
UpdateField(t *model.Task, field string, value interface{}) error
Delete(t *model.Task) error
}