/
go.json
52 lines (52 loc) · 1.61 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
{
"version": "1.22.2",
"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.22.2.windows-amd64.zip",
"hash": "8e581cf330f49d3266e936521a2d8263679ef7e2fc2cbbceb85659122d883596"
},
"32bit": {
"url": "https://dl.google.com/go/go1.22.2.windows-386.zip",
"hash": "651753c06df037020ef4d162c5b273452e9ba976ed17ae39e66ef7ee89d8147e"
}
},
"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.]+)\\.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"
}
},
"hash": {
"url": "$url.sha256"
}
}
}