🎨 #306 GO111MODULE=on

This commit is contained in:
Liang Ding 2019-05-20 17:56:58 +08:00
parent d3f522acd9
commit eb896e3db3
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,
"GO111MODULE=on",
"GOPATH="+userWorkspace,
"GOOS="+runtime.GOOS,
"GOARCH="+runtime.GOARCH,