Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimePeriod ¶
type TimePeriod struct { GetCurrentTime func() time.Time // contains filtered or unexported fields }
func TimePeriods ¶
func TimePeriods(periods []string) (*TimePeriod, error)
func (*TimePeriod) InPeriod ¶
func (t *TimePeriod) InPeriod() bool
Click to show internal directories.
Click to hide internal directories.