Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HsPUIsAttributes ¶
type HsPUIsAttributes struct { Region string `json:"region"` HF string `json:"hf"` Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"` PUIs int64 `json:"PUIs"` ObjectID int64 `json:"ObjectId"` }
HsPUIsAttributes hospital puis data
type Service ¶
type Service interface { GetStats() (*StatsAttributes, error) GetHospitalPUI() (*[]HsPUIsAttributes, error) }
Service interface
type StatsAttributes ¶
type StatsAttributes struct { Day int64 `json:"day"` Confirmed int64 `json:"confirmed"` PUIs interface{} `json:"PUIs"` PUMs interface{} `json:"PUMs"` Recovered int64 `json:"recovered"` Deaths int64 `json:"deaths"` Tests interface{} `json:"tests"` ObjectID int64 `json:"ObjectId"` }
StatsAttributes ph data
Click to show internal directories.
Click to hide internal directories.