summaryrefslogtreecommitdiff
path: root/golang/pkg/model/cargo.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--golang/pkg/model/cargo.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/golang/pkg/model/cargo.go b/golang/pkg/model/cargo.go
index bf58204..7bd8db8 100644
--- a/golang/pkg/model/cargo.go
+++ b/golang/pkg/model/cargo.go
@@ -1,7 +1,7 @@
package model
type Cargo struct {
- Capacity int `json:"capacity"`
- Inventory []Inventory `json:"inventory"`
- Units int `json:"units"`
+ Capacity int `json:"capacity"`
+ Inventory []InventoryItem `json:"inventory"`
+ Units int `json:"units"`
}