diff --git a/judge/languages.py b/judge/languages.py index 0bf0038d..6b7ab665 100644 --- a/judge/languages.py +++ b/judge/languages.py @@ -189,7 +189,7 @@ _go_lang_config = { "max_real_time": 5000, "max_memory": 1024 * 1024 * 1024, "compile_command": "/usr/bin/go build -o {exe_path} {src_path}", - "env": ["GOCACHE=/tmp"] + "env": ["GOCACHE=/tmp", "GOPATH=/tmp"] }, "run": { "command": "{exe_path}",