Skip to content

Commit 6e08255

Browse files
authored
Adds Icon parameter to Weather
This adds the `icon` value of a weather result to the `Weather` struct
1 parent a6f93d8 commit 6e08255

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎openweathermap.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ type Weather struct {
3030
Id int `json:"id"`
3131
Main string `json:"main"`
3232
Description string `json:"description"`
33+
Icon string `json:"icon"`
3334
}
3435

3536
type Wind struct {

0 commit comments

Comments
 (0)