go-judge/file/sourcefile.go
criyle 1f86f25995 Refactor & Documentation
- pkg/runner -> pkg/envexec
- add idea about executor server
2020-03-03 02:32:59 -05:00

15 lines
256 B
Go

package file
// SourceCode defines source code with its language
type SourceCode struct {
Language string
Code File
ExtraFiles []File
}
// CompiledExec defines compiled executable
type CompiledExec struct {
Language string
Exec []File
}