-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathgo_cli.cli.txt
31 lines (22 loc) · 1.43 KB
/
go_cli.cli.txt
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
┏━━━━━━━━━━━━┓
┃ GO_CLI ┃
┗━━━━━━━━━━━━┛
VERSION ==> #See Go language
RELATED DOCUMENTATION ==> #See Go language
┌─────────────┐
│ GENERAL │
└─────────────┘
ENVVAR GOFLAGS #"-FLAG=VAL ..." applied to every go ..., providing the command has that flag
go tool dist ... #Test, re-build and analyze the Go installation itself
┌─────────┐
│ ENV │
└─────────┘
ENVVAR GOENV #All Go-related ENVVARs (GO*|CGO*|GCC-related) can be also set in that file
#using go env -w|-u
#Def: ~/.config/go/env
go env #Prints all GO*|CGO*|GCC-related ENVVARs
#After default value resolution
go env "ENVVAR",... #Print value
go env -w ENVVAR=VAL,... #Sets value
go env -u ENVVAR #Unsets value
-json #JSON output