summaryrefslogtreecommitdiff
path: root/internal/models/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/models/types.go')
-rw-r--r--internal/models/types.go19
1 files changed, 9 insertions, 10 deletions
diff --git a/internal/models/types.go b/internal/models/types.go
index 1267d31..e3164de 100644
--- a/internal/models/types.go
+++ b/internal/models/types.go
@@ -8,18 +8,18 @@ import (
// Task represents a native task
type Task struct {
- ID string `json:"id"`
- Content string `json:"content"`
- Description string `json:"description"`
- ProjectID string `json:"project_id"`
- ProjectName string `json:"project_name"`
- DueDate *time.Time `json:"due_date,omitempty"`
- Priority int `json:"priority"`
- Completed bool `json:"completed"`
+ ID string `json:"id"`
+ Content string `json:"content"`
+ Description string `json:"description"`
+ ProjectID string `json:"project_id"`
+ ProjectName string `json:"project_name"`
+ DueDate *time.Time `json:"due_date,omitempty"`
+ Priority int `json:"priority"`
+ Completed bool `json:"completed"`
Labels []string `json:"labels"`
EstimatedMinutes int `json:"estimated_minutes,omitempty"`
URL string `json:"url"`
- CreatedAt time.Time `json:"created_at"`
+ CreatedAt time.Time `json:"created_at"`
// Recurrence (doot-native tasks only). RecurrenceSeriesID != "" is the
// indicator that a task is recurring.
@@ -146,7 +146,6 @@ type Card struct {
URL string `json:"url"`
}
-
// CalendarEvent represents a Google Calendar event
type CalendarEvent struct {
ID string `json:"id"`