Skip to content

Commit

Permalink
documents GeoPoint type
Browse files Browse the repository at this point in the history
  • Loading branch information
zevdg committed Feb 10, 2019
1 parent 623776c commit 9d52efc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fcf.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ type Value struct {
UpdateTime time.Time `json:"updateTime"`
}

// GeoPoint is a convenience type provided for decoding geoPointValues
// You can use your own type as long as it has has
// the correct latitude/longitude struct tags
type GeoPoint struct {
Latitude float64 `fcf:"latitude"`
Longitude float64 `fcf:"longitude"`
Expand Down

0 comments on commit 9d52efc

Please sign in to comment.