🎨 #306 GO111MODULE=on
This commit is contained in:
parent
d3f522acd9
commit
eb896e3db3
|
@ -113,6 +113,7 @@ func setCmdEnv(cmd *exec.Cmd, uid string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd.Env = append(cmd.Env,
|
cmd.Env = append(cmd.Env,
|
||||||
|
"GO111MODULE=on",
|
||||||
"GOPATH="+userWorkspace,
|
"GOPATH="+userWorkspace,
|
||||||
"GOOS="+runtime.GOOS,
|
"GOOS="+runtime.GOOS,
|
||||||
"GOARCH="+runtime.GOARCH,
|
"GOARCH="+runtime.GOARCH,
|
||||||
|
|
Loading…
Reference in New Issue