Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DayStrings ¶
func DayStrings() []string
DayStrings returns a slice of all String values of the enum
Types ¶
type Day ¶
type Day int
func DayString ¶
DayString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func ParseDays ¶
ParseDays converts a days string into a slice of individual days Days format:
day[-day][, ...]
type TimeRange ¶
type TimeRange struct {
From, To HourMin
}
func ParseTimeRange ¶
func ParseTimeRanges ¶
Click to show internal directories.
Click to hide internal directories.