geo_type: store numeric code and return int16
All checks were successful
Build and Release / release (push) Successful in 1m27s

This commit is contained in:
taDuc
2026-05-05 19:53:18 +07:00
parent 29944915cd
commit 0a1c0bdf47
4 changed files with 18 additions and 12 deletions

View File

@@ -14,7 +14,7 @@ type Bbox struct {
type GeometryResponse struct {
ID string `json:"id"`
GeoType string `json:"geo_type"`
GeoType int16 `json:"geo_type"`
DrawGeometry json.RawMessage `json:"draw_geometry"`
Binding json.RawMessage `json:"binding,omitempty"`
TimeStart int32 `json:"time_start,omitempty"`