1
0
Fork 0

[golang] implement systems and waypoints lookups

This commit is contained in:
Julien Dessaux 2025-02-15 01:22:36 +01:00
parent d97985a694
commit 66466e161f
Signed by: adyxax
GPG key ID: F92E51B86E07177E
10 changed files with 205 additions and 0 deletions

View file

@ -0,0 +1,16 @@
package model
type Waypoint struct {
Chart *Chart `json:"chart"`
Factions []string `json:"factions"`
IsUnderConstruction bool `json:"isUnderConstruction"`
Modifiers []Common `json:"modifiers"`
//orbitals: Array<{symbol: string;}>;
//orbits: string;
Symbol string `json:"symbol"`
SystemSymbol string `json:"systemSymbol"`
Traits []Common `json:"traits"`
Type string `json:"type"`
X int `json:"x"`
Y int `json:"y"`
}