diff options
author | Julien Dessaux | 2024-05-29 23:08:24 +0200 |
---|---|---|
committer | Julien Dessaux | 2024-05-29 23:08:24 +0200 |
commit | 860984057d496999949f7b5680997a25b6c660c3 (patch) | |
tree | 32653e3f8e89464167d2ae3918a59a40364e020d /golang/pkg/model/inventory.go | |
parent | [golang] fixed golang api client design mistakes (diff) | |
download | spacetraders-860984057d496999949f7b5680997a25b6c660c3.tar.gz spacetraders-860984057d496999949f7b5680997a25b6c660c3.tar.bz2 spacetraders-860984057d496999949f7b5680997a25b6c660c3.zip |
[golang] added ships first api calls
Diffstat (limited to 'golang/pkg/model/inventory.go')
-rw-r--r-- | golang/pkg/model/inventory.go | 8 |
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"` +} |