Files
zephyr/types/forecast.go

19 lines
531 B
Go
Raw Normal View History

package types
// The ForecastEntity data type, representing the weather forecast
// of a single day
type ForecastEntity struct {
Date ZephyrDate `json:"date"`
Min string `json:"min"`
Max string `json:"max"`
Condition string `json:"condition"`
Emoji string `json:"emoji"`
FeelsLike string `json:"feelsLike"`
Wind Wind `json:"wind"`
}
2025-06-23 05:40:20 +02:00
// The Forecast data type, representing a set of ForecastEntity
type Forecast struct {
2025-06-23 05:40:20 +02:00
Forecast []ForecastEntity `json:"forecast"`
}