Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Endpoint is the url where theuniversity provide the table Endpoint string = "https://portal.lancaster.ac.uk/intranet/api/content/cms/coronavirus/covid-19-statistics" //DatabasePath is file path for sqlite db DatabasePath string = "./database/cases.db" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ResponseContent ¶
type WebResponse ¶
type WebResponse struct { Key string `json:"key"` Title string `json:"title"` Content []ResponseContent `json:"contentItems"` }
Click to show internal directories.
Click to hide internal directories.