Added moon route and changed Date fields from pointers to values

This commit is contained in:
2025-06-18 10:44:19 +02:00
parent 87605024c7
commit a87b6a0c06
10 changed files with 188 additions and 28 deletions

View File

@@ -3,13 +3,13 @@ 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"`
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"`
}
// The Forecast data type, representing the an set