🎨 #306 goproxy

This commit is contained in:
Liang Ding 2019-05-20 17:59:10 +08:00
parent eb896e3db3
commit 4a28d10a9d
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ func setCmdEnv(cmd *exec.Cmd, uid string) {
} }
cmd.Env = append(cmd.Env, cmd.Env = append(cmd.Env,
"GOPROXY=https://goproxy.cn",
"GO111MODULE=on", "GO111MODULE=on",
"GOPATH="+userWorkspace, "GOPATH="+userWorkspace,
"GOOS="+runtime.GOOS, "GOOS="+runtime.GOOS,