//
pkg.gl
Category
github.com/wtfutil/wtf
modules
covid
package
0.43.0
Repository:
https://github.com/wtfutil/wtf.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
1
Files
157 SLOC
#
Functions
LatestCases
LatestCases queries the /latest endpoint, does not take any query parameters.
NewSettingsFromYAML
NewSettingsFromYAML returns the settings from the config yaml file.
NewWidget
NewWidget creates a new widget for this module.
#
Structs
Cases
Cases holds the latest cases.
Latest
Latest holds the number of global confirmed cases and deaths due to Covid.
Settings
Settings is the struct for this module's settings.
Widget
Widget is the struct that defines this module widget.