summaryrefslogtreecommitdiff
path: root/golang/pkg/model/ship.go
diff options
context:
space:
mode:
authorJulien Dessaux2024-05-29 23:08:24 +0200
committerJulien Dessaux2024-05-29 23:08:24 +0200
commit860984057d496999949f7b5680997a25b6c660c3 (patch)
tree32653e3f8e89464167d2ae3918a59a40364e020d /golang/pkg/model/ship.go
parent[golang] fixed golang api client design mistakes (diff)
downloadspacetraders-860984057d496999949f7b5680997a25b6c660c3.tar.gz
spacetraders-860984057d496999949f7b5680997a25b6c660c3.tar.bz2
spacetraders-860984057d496999949f7b5680997a25b6c660c3.zip
[golang] added ships first api calls
Diffstat (limited to 'golang/pkg/model/ship.go')
-rw-r--r--golang/pkg/model/ship.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/golang/pkg/model/ship.go b/golang/pkg/model/ship.go
new file mode 100644
index 0000000..549f09e
--- /dev/null
+++ b/golang/pkg/model/ship.go
@@ -0,0 +1,16 @@
+package model
+
+type Ship struct {
+ Cargo Cargo `json:"cargo"`
+ Cooldown Cooldown `json:"cooldown"`
+ //// crew
+ //// engine
+ //// frame
+ Fuel Fuel `json:"fuel"`
+ //// modules
+ //// mounts
+ Nav Nav `json:"nav"`
+ //// reactor
+ //registration: Registration;
+ Symbol string `json:"symbol"`
+}