From 66466e161fff1bd2b8c2ea42249947ccc19c39fe Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sat, 15 Feb 2025 01:22:36 +0100 Subject: [golang] implement systems and waypoints lookups --- golang/pkg/model/system.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 golang/pkg/model/system.go (limited to 'golang/pkg/model/system.go') diff --git a/golang/pkg/model/system.go b/golang/pkg/model/system.go new file mode 100644 index 0000000..c1e302d --- /dev/null +++ b/golang/pkg/model/system.go @@ -0,0 +1,11 @@ +package model + +type System struct { + Factions []Faction `json:"factions"` + SectorSymbol string `json:"sectorSymbol"` + Symbol string `json:"symbol"` + Type string `json:"type"` + Waypoints []Waypoint `json:"waypoints"` + X int `json:"x"` + Y int `json:"y"` +} -- cgit v1.2.3