* Upgrade godo to latest
* Fix a bunch of issues found by
* Running staticcheck on a codebase for the first time is a sobering experience
* go mod tidy
* More static improvements
Signed-off-by: Chris Cummer <chriscummer@me.com>
* Add config option `enableRealtime` that, if set to true, will cause realtime metrics to be displayed above the historicaly view counts for all view IDs
* Add in the v3 Google API client and construct a service for it conditionally if realtime metrics are enabled
* Update google analytics data pulling code to retrieve realtime metrics using the v3 client if realtime metrics are enabled in settings
* Update table generation code to display fetched realtime metrics if they are available
Have all instances take a function
Update the remaining modules to take this into account
Numerous smaller refactors to make some widgets work more or less the same