From 6961e155782e9b2066bc788aebda550fa20522f7 Mon Sep 17 00:00:00 2001 From: "aspire-repo-bot[bot]" <268009190+aspire-repo-bot[bot]@users.noreply.github.com> Date: Fri, 6 Nov 2026 13:53:08 +0000 Subject: [PATCH] Document aspire-go-starter --use-redis-cache --- .../docs/reference/cli/commands/aspire-new.mdx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/frontend/src/content/docs/reference/cli/commands/aspire-new.mdx b/src/frontend/src/content/docs/reference/cli/commands/aspire-new.mdx index c557f4dcb0..69900bb9f5 100644 --- a/src/frontend/src/content/docs/reference/cli/commands/aspire-new.mdx +++ b/src/frontend/src/content/docs/reference/cli/commands/aspire-new.mdx @@ -175,6 +175,20 @@ The `aspire-py-starter` template accepts the following additional options: aspire new aspire-py-starter --use-redis-cache true ``` +### aspire-go-starter options + +The `aspire-go-starter` template accepts the following additional options: + +- **`--use-redis-cache`** + + Controls whether the Go starter includes a Redis cache resource. Omitting the option or passing `true` retains Redis. Passing `false` omits the Redis integration and resource, so the Go API runs without Redis or a Docker daemon. + + ```bash title="Aspire CLI" + aspire new aspire-go-starter --use-redis-cache false + ``` + + Both variants include `api/go.sum` and an already-tidy API module, so the API builds with `go build -mod=readonly` without first running the AppHost's tidy resource. + ## Examples - Create an Aspire solution from the template. Because the template was selected (`aspire-starter`), you're prompted for the name, output folder, and template version.