{ "version": "1.22.0", "description": "An open source programming language that makes it easy to build simple, reliable, and efficient software.", "homepage": "https://golang.org", "license": "BSD-3-Clause", "architecture": { "64bit": { "url": "https://dl.google.com/go/go1.22.0.windows-amd64.zip", "hash": "78b3158fe3aa358e0b6c9f26ecd338f9a11441e88bc434ae2e9f0ca2b0cc4dd3" }, "32bit": { "url": "https://dl.google.com/go/go1.22.0.windows-386.zip", "hash": "553d44928509965cbda02a45b35ab01cf8b925534bc526a34e2d9dc7794b57e8" }, "arm64": { "url": "https://dl.google.com/go/go1.22.0.windows-arm64.zip", "hash": "31a61e41d06a3bb2189a303f5f3e777ca4b454eff439f0a67bc2b166330021f4" } }, "extract_dir": "go", "installer": { "script": [ "$envgopath = \"$env:USERPROFILE\\go\"", "if ($env:GOPATH) { $envgopath = $env:GOPATH }", "info \"Adding '$envgopath\\bin' to PATH...\"", "add_first_in_path \"$envgopath\\bin\" $global" ] }, "uninstaller": { "script": [ "$envgopath = \"$env:USERPROFILE\\go\"", "if ($env:GOPATH) { $envgopath = $env:GOPATH }", "info \"Removing '$envgopath\\bin' from PATH...\"", "remove_from_path \"$envgopath\\bin\" $global" ] }, "bin": [ "bin\\go.exe", "bin\\gofmt.exe" ], "checkver": { "url": "https://golang.org/dl/", "regex": "go([\\d.]+)\\.windows-" }, "autoupdate": { "architecture": { "64bit": { "url": "https://dl.google.com/go/go$version.windows-amd64.zip" }, "32bit": { "url": "https://dl.google.com/go/go$version.windows-386.zip" }, "arm64": { "url": "https://dl.google.com/go/go$version.windows-arm64.zip" } }, "hash": { "url": "$url.sha256" } } }