2020-11-12 20:01:47 +00:00

53 lines
1.6 KiB
JSON

{
"version": "1.15.5",
"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",
"notes": [
"Your GOROOT has been set to: $dir",
"You can run 'go env GOROOT' to view this at any time.",
"\"$env:USERPROFILE\\go\\bin\" has been added to your PATH."
],
"architecture": {
"64bit": {
"url": "https://dl.google.com/go/go1.15.5.windows-amd64.zip",
"hash": "1d24be3a200201a74be25e4134fbec467750e834e84e9c7789a9fc13248c5507"
},
"32bit": {
"url": "https://dl.google.com/go/go1.15.5.windows-386.zip",
"hash": "d812436c7e3482ba3c97172edf26afaf35aca60a5621ff4a5f6a08386505ab9c"
}
},
"extract_dir": "go",
"installer": {
"script": "add_first_in_path \"$env:USERPROFILE\\go\\bin\" $global"
},
"uninstaller": {
"script": "remove_from_path \"$env:USERPROFILE\\go\\bin\" $global"
},
"bin": [
"bin\\go.exe",
"bin\\gofmt.exe"
],
"env_set": {
"GOROOT": "$dir"
},
"checkver": {
"url": "https://golang.org/dl/",
"regex": "go([\\d.]+)\\."
},
"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"
}
},
"hash": {
"url": "$url.sha256"
}
}
}