diff --git a/cmd/joj3/conf/conf.go b/cmd/joj3/conf/conf.go index d14ae1c..177343a 100644 --- a/cmd/joj3/conf/conf.go +++ b/cmd/joj3/conf/conf.go @@ -20,6 +20,21 @@ type Conf struct { SandboxExecServer string `default:"localhost:5051"` SandboxToken string `default:""` OutputPath string `default:"stages_result.json"` + Stages []struct { + Name string + Group string + Executor struct { + Name string + With struct { + Default stage.Cmd + Cases []OptionalCmd + } + } + Parser struct { + Name string + With interface{} + } + } } Teapot struct { Skip bool `default:"true"` @@ -28,21 +43,6 @@ type Conf struct { FailedTablePath string `default:"failed-table.md"` GradingRepoName string `default:""` } - Stages []struct { - Name string - Group string - Executor struct { - Name string - With struct { - Default stage.Cmd - Cases []OptionalCmd - } - } - Parser struct { - Name string - With interface{} - } - } } type OptionalCmd struct {