@@ -124,22 +124,22 @@ func GetHourlyForecast(ctx context.Context, lat, lon float64, units string) (*Ho
124124}
125125
126126type Forecast struct {
127- CalendarDayTemperatureMax []int `json:"calendarDayTemperatureMax"`
128- CalendarDayTemperatureMin []int `json:"calendarDayTemperatureMin"`
129- DayOfWeek []string `json:"dayOfWeek"`
130- MoonPhaseCode []string `json:"moonPhaseCode"`
131- MoonPhase []string `json:"moonPhase"`
132- MoonPhaseDay []int `json:"moonPhaseDay"`
133- Narrative []string `json:"narrative"`
134- SunriseTimeLocal []string `json:"sunriseTimeLocal"`
135- SunsetTimeLocal []string `json:"sunsetTimeLocal"`
136- MoonriseTimeLocal []string `json:"moonriseTimeLocal"`
137- MoonsetTimeLocal []string `json:"moonsetTimeLocal"`
138- Qpf []float32 `json:"qpf"`
139- QpfSnow []float32 `json:"qpfSnow"`
140- DayParts []* ForecastDayPart `json:"daypart"`
141- WindSpeedUnit string `json:"windSpeedUnit"`
142- TemperatureUnit string `json:"temperatureUnit"`
127+ CalendarDayTemperatureMax []int `json:"calendarDayTemperatureMax"`
128+ CalendarDayTemperatureMin []int `json:"calendarDayTemperatureMin"`
129+ DayOfWeek []string `json:"dayOfWeek"`
130+ MoonPhaseCode []string `json:"moonPhaseCode"`
131+ MoonPhase []string `json:"moonPhase"`
132+ MoonPhaseDay []int `json:"moonPhaseDay"`
133+ Narrative []string `json:"narrative"`
134+ SunriseTimeLocal []string `json:"sunriseTimeLocal"`
135+ SunsetTimeLocal []string `json:"sunsetTimeLocal"`
136+ MoonriseTimeLocal []string `json:"moonriseTimeLocal"`
137+ MoonsetTimeLocal []string `json:"moonsetTimeLocal"`
138+ Qpf []float32 `json:"qpf"`
139+ QpfSnow []float32 `json:"qpfSnow"`
140+ DayParts []ForecastDayPart `json:"daypart"`
141+ WindSpeedUnit string `json:"windSpeedUnit"`
142+ TemperatureUnit string `json:"temperatureUnit"`
143143}
144144
145145type ForecastDayPart struct {
0 commit comments