Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the comment for go_sdk.host() in the installation docs #4230

Merged
Merged
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
4 changes: 2 additions & 2 deletions docs/go/core/bzlmod.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
# Download an SDK for the host OS & architecture as well as common remote execution platforms.
go_sdk.download(version = "1.23.1")

# Alternately, download an SDK for a fixed OS/architecture.
# Alternatively, download an SDK for a fixed OS/architecture.
go_sdk.download(
version = "1.23.1",
goarch = "amd64",
goos = "linux",
)

# Register the Go SDK installed on the host.
# Another alternative is to register the Go SDK installed on the host (see the nota bene below).
go_sdk.host()
```

Expand Down