From 4069b524b2c607dcf8fc1e378ae86077f8a89234 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 30 May 2024 08:05:03 +0200 Subject: [golang] simplified the api design some more --- golang/pkg/model/agent.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 golang/pkg/model/agent.go (limited to 'golang/pkg/model/agent.go') diff --git a/golang/pkg/model/agent.go b/golang/pkg/model/agent.go new file mode 100644 index 0000000..1c2b80b --- /dev/null +++ b/golang/pkg/model/agent.go @@ -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"` +} -- cgit v1.2.3