|
@ -376,7 +376,7 @@ func jsonEncode(v interface{}) string { |
|
|
|
|
|
|
|
|
var GetHolidaysData func() ([]HolidaysItem, error) |
|
|
var GetHolidaysData func() ([]HolidaysItem, error) |
|
|
|
|
|
|
|
|
var holidayCache *cache |
|
|
|
|
|
|
|
|
var holidayCache cache |
|
|
var holidayCacheLock sync.Mutex |
|
|
var holidayCacheLock sync.Mutex |
|
|
|
|
|
|
|
|
func GetHolidaysDataWithCache() ([]HolidaysItem, error) { |
|
|
func GetHolidaysDataWithCache() ([]HolidaysItem, error) { |
|
|