Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteSourceCodes ¶
func WriteSourceCodes(dir string, sourceFiles []model.SourceFile) error
Types ¶
type CSharp ¶
type CSharp struct { Ctx context.Context Workdir string Submission model.Submission }
func (CSharp) Build ¶
func (cs CSharp) Build(dir string, sandbox containers.Minijail) ([]model.BuildError, error)
func (CSharp) Eval ¶
func (cs CSharp) Eval(dir string, sandbox containers.Minijail) ([]model.TestResult, error)
type Evaluator ¶
type Evaluator struct {
Workdir string
}
func NewEvaluator ¶
func (Evaluator) EvalCSharp ¶
func (Evaluator) Submission ¶
Click to show internal directories.
Click to hide internal directories.