Skip to content

Commit 66ef08a

Browse files
committed
Use float64 for Lat & Lon
1 parent 24a002a commit 66ef08a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openrtb.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ type Producer ThirdParty
8787
// (such as IP geo lookup), or by user registration information (for example provided to a publisher
8888
// through a user registration).
8989
type Geo struct {
90-
Lat *float32 `json:"lat,omitempty"` // Latitude from -90 to 90
91-
Lon *float32 `json:"lon,omitempty"` // Longitude from -180 to 180
90+
Lat *float64 `json:"lat,omitempty"` // Latitude from -90 to 90
91+
Lon *float64 `json:"lon,omitempty"` // Longitude from -180 to 180
9292
Country *string `json:"country,omitempty"` // Country using ISO 3166-1 Alpha 3
9393
Region *string `json:"region,omitempty"` // Region using ISO 3166-2
9494
Regionfips104 *string `json:"regionfips104,omitempty"` // Region of a country using fips 10-4

0 commit comments

Comments
 (0)