mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 22:43:28 +00:00
changed float type of coordinates on go lang structs
This commit is contained in:
@@ -7,8 +7,8 @@ type Payload struct {
|
|||||||
|
|
||||||
type GeoObject struct {
|
type GeoObject struct {
|
||||||
UID string `json:"uid,omitempty"`
|
UID string `json:"uid,omitempty"`
|
||||||
Longitude float32 `json:"longitude"`
|
Longitude float64 `json:"longitude"`
|
||||||
Latitude float32 `json:"latitude"`
|
Latitude float64 `json:"latitude"`
|
||||||
Attitude string `json:"attitude"`
|
Attitude string `json:"attitude"`
|
||||||
Bearing int `json:"bearing,omitempty"`
|
Bearing int `json:"bearing,omitempty"`
|
||||||
Distance int `json:"distance,omitempty"`
|
Distance int `json:"distance,omitempty"`
|
||||||
|
|||||||
Reference in New Issue
Block a user