1
0
mirror of https://github.com/taigrr/wtf synced 2026-03-21 00:02:17 -07:00
Files
wtf/modules/twitterstats/widget.go
Casey Primozic d82eda1933 Improvements to twitterstats code from review
* Unmarshal directly into a `TwitterStats` struct by using json struct annotations
 * Pull stats fetching for a single user out into its own function so that closing the request body is done after each request and the HTTP request can be re-used for multiple usernames' stats
 * Improve type casting code used in settings parsing logic
2019-10-23 11:49:33 -07:00

1.0 KiB