summaryrefslogtreecommitdiff
path: root/internal/models/types.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-07-16 06:15:34 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-07-16 06:15:34 +0000
commit6b13197f479b98c323140d3e9d9998c32f9f6ac9 (patch)
tree92c6e45be34ad852720b3402f0758c212891f827 /internal/models/types.go
parent4d2b192c7d7aae09d7a2b849b6fbb60cd7c0c23e (diff)
gofmt internal/models/types.go and budget.go
Fix formatting and alignment violations: align struct field tags in Task, realign Weekday comment in AvailabilityBlock, and remove extra blank line before CalendarEvent. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session
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"`