Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseOpeningHours ¶
func ParseOpeningHours(openingHoursString string) (OpeningHours, ExtraOpeningHours, error)
Types ¶
type ExtraOpening ¶
type ExtraOpening struct { Start time.Time `bson:"start"` End time.Time `bson:"end"` Opening *OpeningDay `bson:"opening"` }
type ExtraOpeningHours ¶
type ExtraOpeningHours []ExtraOpening
type OpeningDay ¶
type OpeningHours ¶
type OpeningHours map[Weekday]*OpeningDay
Click to show internal directories.
Click to hide internal directories.