2023-02-17 02:36:23 +05:30

62 lines
2.0 KiB
JSON

{
"version": "1.20.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",
"architecture": {
"64bit": {
"url": "https://dl.google.com/go/go1.20.1.windows-amd64.zip",
"hash": "3b493969196a6de8d9762d09f5bc5ae7a3e5814b0cfbf9cc26838c2bc1314f9c"
},
"32bit": {
"url": "https://dl.google.com/go/go1.20.1.windows-386.zip",
"hash": "61259b5a346193e30b7b3c3f8d108062db25bbb80cf290ee251eeb855965f6ee"
},
"arm64": {
"url": "https://dl.google.com/go/go1.20.1.windows-arm64.zip",
"hash": "62d14ddb44bcda27c9b1f5ad9ffd4463013374ed325d762417e2adefd59a802f"
}
},
"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"
}
}
}