Skip to content

Commit

Permalink
fix json demarshal to use float64 for lat/lng
Browse files Browse the repository at this point in the history
  • Loading branch information
s3ththompson committed Jul 24, 2019
1 parent 3f4dd92 commit 36e5851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions earthdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ type EarthViewItem struct {
Title string `json:"title"`
Region string `json:"region"`
Country string `json:"country"`
Lat string `json:"lat"`
Lng string `json:"lng"`
Lat float64 `json:"lat"`
Lng float64 `json:"lng"`
PhotoURL string `json:"photoUrl"`
Attribution string `json:"attribution"`
MapsLink string `json:"mapsLink"`
Expand Down

0 comments on commit 36e5851

Please sign in to comment.