package
Version:
v0.0.0-...-a8632a4
Opens a new window with list of versions in this module.
Published: Dec 31, 2020
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Holiday struct {
Dt string `json:"dt"`
Name string `json:"name"`
Market string `json:"market"`
OpenTime string `json:"openTime"`
CloseTime string `json:"closeTime"`
Mic string `json:"mic"`
}
Holiday describes a single holiday attributes.
type Holidayer struct {
}
JSON returns holidays in JSON structure.
type Response struct {
Today string `json:"today"`
Dates []Holiday `json:"dates"`
IsHolidayToday bool `json:"isHolidayToday"`
IsUpdateRequired bool `json:"isUpdateRequired"`
ServerTime string `json:"serverTime"`
}
Response defines REST API response structure.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.