[golang] simplified the api design some more
This commit is contained in:
parent
860984057d
commit
4069b524b2
7 changed files with 56 additions and 86 deletions
10
golang/pkg/model/agent.go
Normal file
10
golang/pkg/model/agent.go
Normal file
|
@ -0,0 +1,10 @@
|
|||
package model
|
||||
|
||||
type Agent struct {
|
||||
AccountID string `json:"accountId"`
|
||||
Credits int `json:"credits"`
|
||||
Headquarters string `json:"headquarters"`
|
||||
ShipCount int `json:"shipCount"`
|
||||
StartingFaction string `json:"startingFaction"`
|
||||
Symbol string `json:"symbol"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue