diff options
author | Julien Dessaux | 2025-02-15 01:22:36 +0100 |
---|---|---|
committer | Julien Dessaux | 2025-02-15 01:22:36 +0100 |
commit | 66466e161fff1bd2b8c2ea42249947ccc19c39fe (patch) | |
tree | 67f0e7fe70a3993764c43aa77fa6707a4137ae67 /golang/pkg/model/system.go | |
parent | [golang] implement automation loop and add contract accepting (diff) | |
download | spacetraders-66466e161fff1bd2b8c2ea42249947ccc19c39fe.tar.gz spacetraders-66466e161fff1bd2b8c2ea42249947ccc19c39fe.tar.bz2 spacetraders-66466e161fff1bd2b8c2ea42249947ccc19c39fe.zip |
[golang] implement systems and waypoints lookups
Diffstat (limited to '')
-rw-r--r-- | golang/pkg/model/system.go | 11 |
1 files changed, 11 insertions, 0 deletions
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"` +} |