Fix code formatting with gofmt

This commit is contained in:
2025-12-04 23:26:51 +01:00
parent 29f0f9b468
commit 88b5d11113
@@ -9,26 +9,26 @@ import (
) )
type ExportHabitDTO struct { type ExportHabitDTO struct {
ID string `json:"id"` ID string `json:"id"`
Name string `json:"name"` Name string `json:"name"`
Description string `json:"description"` Description string `json:"description"`
Type value_objects.HabitType `json:"type"` Type value_objects.HabitType `json:"type"`
Frequency value_objects.Frequency `json:"frequency"` Frequency value_objects.Frequency `json:"frequency"`
SpecificDays []int `json:"specific_days,omitempty"` SpecificDays []int `json:"specific_days,omitempty"`
SpecificDates []int `json:"specific_dates,omitempty"` SpecificDates []int `json:"specific_dates,omitempty"`
CarryOver bool `json:"carry_over"` CarryOver bool `json:"carry_over"`
IsNegative bool `json:"is_negative"` IsNegative bool `json:"is_negative"`
TargetValue *float64 `json:"target_value,omitempty"` TargetValue *float64 `json:"target_value,omitempty"`
CreatedAt time.Time `json:"created_at"` CreatedAt time.Time `json:"created_at"`
ArchivedAt *time.Time `json:"archived_at,omitempty"` ArchivedAt *time.Time `json:"archived_at,omitempty"`
} }
type ExportEntryDTO struct { type ExportEntryDTO struct {
ID string `json:"id"` ID string `json:"id"`
HabitID string `json:"habit_id"` HabitID string `json:"habit_id"`
ScheduledDate time.Time `json:"scheduled_date"` ScheduledDate time.Time `json:"scheduled_date"`
CompletedAt time.Time `json:"completed_at"` CompletedAt time.Time `json:"completed_at"`
Value *float64 `json:"value,omitempty"` Value *float64 `json:"value,omitempty"`
} }
type ExportUserDataResult struct { type ExportUserDataResult struct {