From 7f454c3a3852d1d691ccf982a0b7eeca37876aac Mon Sep 17 00:00:00 2001 From: David Nguyen Date: Thu, 26 Oct 2023 20:26:16 +0700 Subject: [PATCH] fix: :bug: field moon_illumination --- pkg/weatherapi_com/type.go | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pkg/weatherapi_com/type.go b/pkg/weatherapi_com/type.go index 27dd107b1b..84f32c6e9c 100644 --- a/pkg/weatherapi_com/type.go +++ b/pkg/weatherapi_com/type.go @@ -77,14 +77,13 @@ type ForecastDay struct { Uv float64 `json:"uv"` } `json:"day"` Astro struct { - Sunrise string `json:"sunrise"` - Sunset string `json:"sunset"` - Moonrise string `json:"moonrise"` - Moonset string `json:"moonset"` - MoonPhase string `json:"moon_phase"` - MoonIllumination string `json:"moon_illumination"` - IsMoonUp int `json:"is_moon_up"` - IsSunUp int `json:"is_sun_up"` + Sunrise string `json:"sunrise"` + Sunset string `json:"sunset"` + Moonrise string `json:"moonrise"` + Moonset string `json:"moonset"` + MoonPhase string `json:"moon_phase"` + IsMoonUp int `json:"is_moon_up"` + IsSunUp int `json:"is_sun_up"` } `json:"astro"` Hour []ForecastHour `json:"hour"` } @@ -127,4 +126,4 @@ type ForecastHour struct { GustMph float64 `json:"gust_mph"` GustKph float64 `json:"gust_kph"` Uv float64 `json:"uv"` -} +} \ No newline at end of file