Skip to content

Commit

Permalink
Add an example for go_download_sdks.sdks
Browse files Browse the repository at this point in the history
Fixes #3136.
  • Loading branch information
fishy committed May 4, 2022
1 parent ba46686 commit 28243fb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion go/toolchains.rst
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,12 @@ This downloads a Go SDK for use in toolchains.
name = "go_sdk",
goos = "linux",
goarch = "amd64",
version = "1.12.5",
version = "1.18.1",
sdks = {
# You can get the expected filenames and checksums from https://go.dev/dl/
"linux_amd64": ("go1.18.1.linux-amd64.tar.gz", "b3b815f47ababac13810fc6021eb73d65478e0b2db4b09d348eefad9581a2334"),
"darwin_amd64": ("go1.18.1.darwin-amd64.tar.gz", "3703e9a0db1000f18c0c7b524f3d378aac71219b4715a6a4c5683eb639f41a4d"),
},
)
go_rules_dependencies()
Expand Down

0 comments on commit 28243fb

Please sign in to comment.