[golang] refactor ships api
This commit is contained in:
parent
d16dd4f38e
commit
23dd8f4a27
3 changed files with 40 additions and 32 deletions
|
@ -1,15 +1,15 @@
|
|||
package model
|
||||
|
||||
type Ship struct {
|
||||
Cargo Cargo `json:"cargo"`
|
||||
Cooldown Cooldown `json:"cooldown"`
|
||||
Cargo *Cargo `json:"cargo"`
|
||||
Cooldown *Cooldown `json:"cooldown"`
|
||||
//// crew
|
||||
//// engine
|
||||
//// frame
|
||||
Fuel Fuel `json:"fuel"`
|
||||
Fuel *Fuel `json:"fuel"`
|
||||
//// modules
|
||||
//// mounts
|
||||
Nav Nav `json:"nav"`
|
||||
Nav *Nav `json:"nav"`
|
||||
//// reactor
|
||||
//registration: Registration;
|
||||
Symbol string `json:"symbol"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue