Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WeatherInfo ¶
func GetCurrent ¶
func GetCurrent(city string) (*WeatherInfo, error)
GetCurrent fetches city coordinates by it's name, then fetches current weather data from Redis (if corresponding coordinates-key exists) or directly from Apixu Weather.
Click to show internal directories.
Click to hide internal directories.