diff options
author | Julien Dessaux | 2025-02-12 23:55:18 +0100 |
---|---|---|
committer | Julien Dessaux | 2025-02-12 23:55:18 +0100 |
commit | 01263017fcd03fa9560ddb8a5013fdf786c7d609 (patch) | |
tree | 0179ae4f3d013f26f49182aecef65febb1fd56dc /golang/pkg/model/register.go | |
parent | [golang] refactor ships api (diff) | |
download | spacetraders-01263017fcd03fa9560ddb8a5013fdf786c7d609.tar.gz spacetraders-01263017fcd03fa9560ddb8a5013fdf786c7d609.tar.bz2 spacetraders-01263017fcd03fa9560ddb8a5013fdf786c7d609.zip |
[golang] implement ship refueling
Diffstat (limited to 'golang/pkg/model/register.go')
-rw-r--r-- | golang/pkg/model/register.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/golang/pkg/model/register.go b/golang/pkg/model/register.go index cf48b8b..36604cf 100644 --- a/golang/pkg/model/register.go +++ b/golang/pkg/model/register.go @@ -1,9 +1,9 @@ package model type Register struct { - Agent Agent `json:"agent"` + Agent *Agent `json:"agent"` //contract //faction - Ship Ship `json:"ship"` + Ship *Ship `json:"ship"` Token string `json:"token"` } |