summaryrefslogtreecommitdiff
path: root/golang/pkg/model/inventory.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/inventory.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 '')
-rw-r--r--golang/pkg/model/inventory.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/golang/pkg/model/inventory.go b/golang/pkg/model/inventory.go
new file mode 100644
index 0000000..d685250
--- /dev/null
+++ b/golang/pkg/model/inventory.go
@@ -0,0 +1,8 @@
+package model
+
+type Inventory struct {
+ //Description string `json:"description"`
+ Units int `json:"units"`
+ //Name string `json:"name"`
+ Symbol string `json:"symbol"`
+}