summaryrefslogtreecommitdiff
path: root/golang/cmd
diff options
context:
space:
mode:
authorJulien Dessaux2024-05-30 08:05:03 +0200
committerJulien Dessaux2024-05-30 08:05:03 +0200
commit4069b524b2c607dcf8fc1e378ae86077f8a89234 (patch)
tree3e42383cafb4a7f24252d4bc55b2481c3f9b014d /golang/cmd
parent[golang] added ships first api calls (diff)
downloadspacetraders-4069b524b2c607dcf8fc1e378ae86077f8a89234.tar.gz
spacetraders-4069b524b2c607dcf8fc1e378ae86077f8a89234.tar.bz2
spacetraders-4069b524b2c607dcf8fc1e378ae86077f8a89234.zip
[golang] simplified the api design some more
Diffstat (limited to '')
-rw-r--r--golang/cmd/spacetraders/main.go4
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
}