diff --git a/platform/types/location.go b/platform/types/location.go index 1844741a..0e35045f 100644 --- a/platform/types/location.go +++ b/platform/types/location.go @@ -1,6 +1,6 @@ package types type Location struct { - Latitude float64 `db:"latitude"` - Longitude float64 `db:"longitude"` + Latitude float64 `db:"latitude" json:"latitude"` + Longitude float64 `db:"longitude" json:"longitude"` }