Unmarshal the weather summary

This commit is contained in:
Ryan Cavicchioni 2022-09-13 08:56:33 -05:00
parent 5a141be534
commit 7b3368eea4
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -22,6 +22,12 @@ type (
H1 float32 `json:"1h"`
H3 float32 `json:"3h"`
} `json:"rain"`
Weather []struct {
Main string `json:"main"`
Description string `json:"description"`
Icon string `json:"icon"`
} `json:"weather"`
}
WeatherError struct {