Skip to content

Commit e51944e

Browse files
committed
you're doing great
1 parent 507a99d commit e51944e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

040_json/08_unmarshal_tags/main.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ import (
77
)
88

99
type city struct {
10-
Postal string `json:"Postal"`
11-
Latitude float64 `json:"Latitude"`
12-
Longitude float64 `json:"Longitude"`
13-
Address string `json:"Address"`
14-
City string `json:"City"`
15-
State string `json:"State"`
16-
Zip string `json:"Zip"`
17-
Country string `json:"Country"`
10+
Bali string `json:"Postal"`
11+
Kauai float64 `json:"Latitude"`
12+
Maui float64 `json:"Longitude"`
13+
Java string `json:"Address"`
14+
NewZealand string `json:"City"`
15+
Skye string `json:"State"`
16+
Oahu string `json:"Zip"`
17+
Hawaii string `json:"Country"`
1818
}
1919

2020
type cities []city

0 commit comments

Comments
 (0)