Documentation ¶
Overview ¶
Provides a quick weather lookup.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Weather ¶
type Weather struct { UpdateURL string Token string LatLongItude string Summary string Temp float32 Temp_FeelsLike float32 Humidity float32 //don't forget make percentage CloudCover float32 //same WindSpeed float32 }
func NewWeather ¶
Creates a new Weather instance with provided token and latitude longitude.
type WeatherContent ¶
type WeatherContent struct {
Hourly *WeatherInfo
}
func NewWeatherContent ¶
func NewWeatherContent() WeatherContent
type WeatherData ¶
type WeatherInfo ¶
type WeatherInfo struct { Summary string Data []*WeatherData }
Click to show internal directories.
Click to hide internal directories.