We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2c9715 commit 3322e45Copy full SHA for 3322e45
install.sh
@@ -55,6 +55,7 @@ function main() {
55
#!/bin/sh
56
# g shell setup
57
export GOROOT="${HOME}/.g/go"
58
+[ -z "$GOPATH" ] && export GOPATH="${HOME}/go"
59
export PATH="${HOME}/.g/bin:${GOROOT}/bin:${GOPATH}/bin:$PATH"
60
export G_MIRROR=https://golang.google.cn/dl/
61
EOF
0 commit comments