Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocationResource ¶
type LocationResource struct {
Name string `json:"name"`
}
LocationResource is the resource representation of a location
type WeatherRecord ¶
type WeatherRecord struct {
Location string
Temperature float64
Conditions string
WindSpeed float64
LastUpdated time.Time
}
WeatherRecord represents a weather record in the database
type WeatherResource ¶
type WeatherResource struct {
Location string `json:"location"`
Temperature float64 `json:"temperature"`
Conditions string `json:"conditions"`
WindSpeed float64 `json:"wind_speed"`
LastUpdated string `json:"last_updated"`
}
WeatherResource is the resource representation of weather data
Click to show internal directories.
Click to hide internal directories.