diff options
author | Julien Dessaux | 2025-02-19 00:19:58 +0100 |
---|---|---|
committer | Julien Dessaux | 2025-02-19 00:19:58 +0100 |
commit | 312ef2eb5792cd145d6829e2abc017dd304c5819 (patch) | |
tree | cf782f8356bea73eacb5495631794cf5584e00cb /golang/pkg/model/market.go | |
parent | [golang] update error handling and bootstrap trade procurement (diff) | |
download | spacetraders-312ef2eb5792cd145d6829e2abc017dd304c5819.tar.gz spacetraders-312ef2eb5792cd145d6829e2abc017dd304c5819.tar.bz2 spacetraders-312ef2eb5792cd145d6829e2abc017dd304c5819.zip |
[golang] implement trading and contracting
Diffstat (limited to 'golang/pkg/model/market.go')
-rw-r--r-- | golang/pkg/model/market.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/golang/pkg/model/market.go b/golang/pkg/model/market.go new file mode 100644 index 0000000..6c11386 --- /dev/null +++ b/golang/pkg/model/market.go @@ -0,0 +1,10 @@ +package model + +type Market struct { + Exchange []Common `json:"exchange"` + Exports []Common `json:"exports"` + Imports []Common `json:"imports"` + Symbol string `json:"symbol"` + TradeGoods []TradeGood `json:"tradeGoods"` + Transactions []Transaction `json:"transactions"` +} |