diff options
author | Julien Dessaux | 2024-05-30 08:05:03 +0200 |
---|---|---|
committer | Julien Dessaux | 2024-05-30 08:05:03 +0200 |
commit | 4069b524b2c607dcf8fc1e378ae86077f8a89234 (patch) | |
tree | 3e42383cafb4a7f24252d4bc55b2481c3f9b014d /golang/cmd | |
parent | [golang] added ships first api calls (diff) | |
download | spacetraders-4069b524b2c607dcf8fc1e378ae86077f8a89234.tar.gz spacetraders-4069b524b2c607dcf8fc1e378ae86077f8a89234.tar.bz2 spacetraders-4069b524b2c607dcf8fc1e378ae86077f8a89234.zip |
[golang] simplified the api design some more
Diffstat (limited to 'golang/cmd')
-rw-r--r-- | golang/cmd/spacetraders/main.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/golang/cmd/spacetraders/main.go b/golang/cmd/spacetraders/main.go index 42d43a6..75a9125 100644 --- a/golang/cmd/spacetraders/main.go +++ b/golang/cmd/spacetraders/main.go @@ -84,9 +84,5 @@ func run( slog.Info("agent", "agent", agent, "err", err) // ----- Get ships --------------------------------------------------------- ships, err := client.MyShips() - err = client.Dock(&ships[0]) - slog.Info("dock", "ship", ships[0], "err", err) - err = client.Orbit(&ships[0]) - slog.Info("orbit", "ship", ships[0], "err", err) return nil } |