[golang] added ships first api calls
This commit is contained in:
parent
0d00bf9fd2
commit
860984057d
9 changed files with 164 additions and 0 deletions
16
golang/pkg/model/ship.go
Normal file
16
golang/pkg/model/ship.go
Normal file
|
@ -0,0 +1,16 @@
|
|||
package model
|
||||
|
||||
type Ship struct {
|
||||
Cargo Cargo `json:"cargo"`
|
||||
Cooldown Cooldown `json:"cooldown"`
|
||||
//// crew
|
||||
//// engine
|
||||
//// frame
|
||||
Fuel Fuel `json:"fuel"`
|
||||
//// modules
|
||||
//// mounts
|
||||
Nav Nav `json:"nav"`
|
||||
//// reactor
|
||||
//registration: Registration;
|
||||
Symbol string `json:"symbol"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue