Commit a8ff79f4 authored by Boxiang Sun's avatar Boxiang Sun

component/golang: Enable GOPROXY in goenv.sh

parent a903cd5b
...@@ -15,4 +15,4 @@ ...@@ -15,4 +15,4 @@
[gowork-env.sh] [gowork-env.sh]
filename = goenv.sh.in filename = goenv.sh.in
md5sum = 67a211c786a2351867c3c38f675370f7 # md5sum = 67a211c786a2351867c3c38f675370f7
...@@ -25,6 +25,7 @@ export GOBIN=$X/bin ...@@ -25,6 +25,7 @@ export GOBIN=$X/bin
export GOCACHE=$X/cache export GOCACHE=$X/cache
export GOMODCACHE=$X/pkg/mod export GOMODCACHE=$X/pkg/mod
export GOENV=$X/goenv export GOENV=$X/goenv
export GOPROXY=https://goproxy.cn,direct
export PATH=$GOBIN:$PATH export PATH=$GOBIN:$PATH
export PS1="(`basename $X`) $PS1" export PS1="(`basename $X`) $PS1"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment