Unmarshal the weather summary
This commit is contained in:
parent
5a141be534
commit
7b3368eea4
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user