Documentation
¶
Index ¶
Constants ¶
View Source
const ( TagIll = "ill" TagVacation = "vacation" TagWeekend = "weekend" TagHoliday = "holiday" TagEvent = "event" TagHomeoffice = "homeoffice" TagBreak = "break" TagAutotrack = "autotrack" TagOnCall = "on-call" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Day ¶
type Day struct { DayID string `json:"_id"` Revision string `json:"_rev,omitempty"` Times []*Time `json:"times"` Tags []string `json:"tags,omitempty"` // deprecated tags, have auto-migration IsIll bool `json:"is_ill,omitempty"` IsVacation bool `json:"is_vacation,omitempty"` IsWeekend bool `json:"is_weekend,omitempty"` IsHoliday bool `json:"is_holiday,omitempty"` IsEvent bool `json:"is_event,omitempty"` Homeoffice bool `json:"homeoffice,omitempty"` // contains filtered or unexported fields }
type Time ¶
type Time struct { ID string `json:"id"` Start string `json:"start"` End string `json:"end"` Tags []string `json:"tags,omitempty"` // deprecated tags, have auto-migration IsBreak bool `json:"is_break,omitempty"` IsAutotrack bool `json:"is_autotrack,omitempty"` IsOnCall bool `json:"is_on_call,omitempty"` }
Click to show internal directories.
Click to hide internal directories.