-
-
Notifications
You must be signed in to change notification settings - Fork 977
/
go.json
61 lines (61 loc) · 2.05 KB
/
go.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"version": "1.23.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.23.4.windows-amd64.zip",
"hash": "16c59ac9196b63afb872ce9b47f945b9821a3e1542ec125f16f6085a1c0f3c39"
},
"32bit": {
"url": "https://dl.google.com/go/go1.23.4.windows-386.zip",
"hash": "e544e0e356147ba998e267002bd0f2c4bf3370d495467a55baf2c63595a2026d"
},
"arm64": {
"url": "https://dl.google.com/go/go1.23.4.windows-arm64.zip",
"hash": "db69cae5006753c785345c3215ad941f8b6224e2f81fec471c42d6857bee0e6f"
}
},
"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"
}
}
}