Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backup ¶
type Backup struct { DayEntries []DayEntry `json:"dayEntries"` Goals []Goal `json:"goals"` GoalEntries []GoalEntry `json:"goalEntries"` GoalSuccessWeeks []GoalSuccessWeek `json:"goalSuccessWeeks"` Tags []Tag `json:"tags"` Version int64 `json:"version"` // contains filtered or unexported fields }
func ReadBackupFromFile ¶
func (*Backup) WriteToFile ¶
type DayEntry ¶
type DayEntry struct { DateTime int64 `json:"datetime"` Mood int64 `json:"mood"` Note string `json:"note"` Tags []int64 `json:"tags"` Hour int64 `json:"hour"` Minute int64 `json:"minute"` Day int64 `json:"day"` Month int64 `json:"month"` Year int64 `json:"year"` TimeZoneOffset int64 `json:"timeZoneOffset"` // Not parsed Assets []json.RawMessage `json:"assets"` }
type Goal ¶
type Goal struct { CreatedAt int64 `json:"created_at"` ID int64 `json:"goal_id"` AvatarID int64 `json:"id_avatar"` ChallengeID int64 `json:"id_challenge"` IconID int64 `json:"id_icon"` TagID int64 `json:"id_tag"` Name string `json:"name"` OrderNumber int64 `json:"order_number"` ReminderEnabled bool `json:"reminder_enabled"` ReminderHour int64 `json:"reminder_hour"` ReminderMinute int64 `json:"reminder_minute"` RepeatType int64 `json:"repeat_type"` RepeatValue int64 `json:"repeat_value"` State int64 `json:"state"` }
type GoalSuccessWeek ¶
Click to show internal directories.
Click to hide internal directories.