1
0
Fork 0

[golang] added ships first api calls

This commit is contained in:
Julien Dessaux 2024-05-29 23:08:24 +02:00
parent 0d00bf9fd2
commit 860984057d
Signed by: adyxax
GPG key ID: F92E51B86E07177E
9 changed files with 164 additions and 0 deletions

View file

@ -0,0 +1,7 @@
package model
type Cargo struct {
Capacity int `json:"capacity"`
Inventory []Inventory `json:"inventory"`
Units int `json:"units"`
}