Documentation ¶
Overview ¶
Package weather implements methods to gather weather and AQI from OpenWeatherMap and present it in a pretty string.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WeatherInfo ¶
type WeatherInfo struct { Start periodWeatherInfo End periodWeatherInfo Aqi string }
func GetWeatherLine ¶
func GetWeatherLine(c *client.Client, startDate time.Time, elapsed int32, lat, lon float64) (*WeatherInfo, error)
GetWeatherLine returns the weather conditions in a struct for passing to the templating.
Click to show internal directories.
Click to hide internal directories.