Documentation ¶
Overview ¶
Package holidays supply holidays query.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsWorkingday
deprecated
Types ¶
type Queryer ¶
type Queryer interface { // IsHoliday checks given date is holiday or not. IsHoliday(date time.Time) (bool, error) // IsWorkingday checks given date is working day or not. IsWorkingday(date time.Time) (bool, error) Holiday(date time.Time) (bool, string, []string) }
Queryer is the interface that wraps the Query method.
Click to show internal directories.
Click to hide internal directories.