{ "version": "1.22.4", "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.4.windows-amd64.zip", "hash": "26321c4d945a0035d8a5bc4a1965b0df401ff8ceac66ce2daadabf9030419a98" }, "32bit": { "url": "https://dl.google.com/go/go1.22.4.windows-386.zip", "hash": "aca4e2c37278a10f1c70dd0df142f7d66b50334fcee48978d409202d308d6d25" }, "arm64": { "url": "https://dl.google.com/go/go1.22.4.windows-arm64.zip", "hash": "8a2daa9ea28cbdafddc6171aefed384f4e5b6e714fb52116fe9ed25a132f37ed" } }, "extract_dir": "go", "installer": { "script": [ "$envgopath = \"$env:USERPROFILE\\go\"", "if ($env:GOPATH) { $envgopath = $env:GOPATH }", "info \"Adding '$envgopath\\bin' to PATH...\"", "Add-Path -Path \"$envgopath\\bin\" -Global:$global -Force" ] }, "uninstaller": { "script": [ "$envgopath = \"$env:USERPROFILE\\go\"", "if ($env:GOPATH) { $envgopath = $env:GOPATH }", "info \"Removing '$envgopath\\bin' from PATH...\"", "Remove-Path -Path \"$envgopath\\bin\" -Global:$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" } } }