aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/taskqueue/tasks.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/taskqueue/tasks.go')
-rw-r--r--backend/taskqueue/tasks.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/taskqueue/tasks.go b/backend/taskqueue/tasks.go
index f4cba20..943943f 100644
--- a/backend/taskqueue/tasks.go
+++ b/backend/taskqueue/tasks.go
@@ -17,6 +17,7 @@ type TaskPayloadRunTestcase struct {
UserID int
SubmissionID int
TestcaseID int
+ Language string
Code string
Stdin string
Stdout string
@@ -27,6 +28,7 @@ func newTaskRunTestcase(
userID int,
submissionID int,
testcaseID int,
+ language string,
code string,
stdin string,
stdout string,
@@ -36,6 +38,7 @@ func newTaskRunTestcase(
UserID: userID,
SubmissionID: submissionID,
TestcaseID: testcaseID,
+ Language: language,
Code: code,
Stdin: stdin,
Stdout: stdout,