[golang] added ships first api calls
This commit is contained in:
parent
0d00bf9fd2
commit
860984057d
9 changed files with 164 additions and 0 deletions
7
golang/pkg/model/cargo.go
Normal file
7
golang/pkg/model/cargo.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
package model
|
||||
|
||||
type Cargo struct {
|
||||
Capacity int `json:"capacity"`
|
||||
Inventory []Inventory `json:"inventory"`
|
||||
Units int `json:"units"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue