2021-03-10 17:00:27 +00:00

53 lines
1.6 KiB
JSON

{
"version": "1.16.1",
"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.16.1.windows-amd64.zip",
"hash": "5349a85c190d953e9d59570cad6798c57b18e0bd93794927f25a89e695a5b5be"
},
"32bit": {
"url": "https://dl.google.com/go/go1.16.1.windows-386.zip",
"hash": "604a220963932623af4568b1fa11204c2d58d48595a8bdf04c1e9e00359baeb4"
}
},
"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"
}
}
}