Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading