Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RestoreFromRedis ¶
Types ¶
type Alarm ¶
type Alarm struct { ID string `json:"id"` Minute string `json:"minute"` Hour string `json:"hour"` DayOfMonth string `json:"day_of_month"` Month string `json:"month"` DayOfWeek string `json:"day_of_week"` WeekNum string `json:"week_num"` Message string `json:"message"` RoomKey string `json:"room_key"` }
type Anniversary ¶
type Anniversary struct { ID string `json:"id"` Date string `json:"date"` Period string `json:"period"` Name string `json:"name"` RoomKey string `json:"room_key"` }
func Anniversaries ¶
func Anniversaries() ([]Anniversary, error)
type Tables ¶
type Tables struct { Alarms []Alarm `tableName:"alarm"` Anniversaries []Anniversary `tableName:"anniversary"` }
func Initialize ¶
func (*Tables) LoadTablesFromSheet ¶
func (*Tables) SaveToRedis ¶
Click to show internal directories.
Click to hide internal directories.