Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Forecast ¶
type Forecast struct {
Name string `xml:"LocationMetaData>LocationName"`
Lat float32 `xml:"LocationMetaData>LocationLatitude"`
Long float32 `xml:"LocationMetaData>LocationLongitude"`
Elevation float32 `xml:"LocationMetaData>LocationHeight"`
Forecast []HourlyForecast `xml:"LocationData>Forecast"`
}
type ForecastTime ¶
func (*ForecastTime) UnmarshalXML ¶
func (c *ForecastTime) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type HourlyForecast ¶
type HourlyForecast struct {
Time ForecastTime `xml:"ForecastTime"`
Temp float32 `xml:"Temperature"`
RelHum float32 `xml:"RelativeHumidity"`
WindSpeed float32 `xml:"WindSpeed"`
WindDir float32 `xml:"WindDirection"`
}
Click to show internal directories.
Click to hide internal directories.