JOJ3/internal/parser/resultdetail/meta.go
张泊明518370910136 b8f782c17d
Some checks failed
submodules sync / sync (push) Successful in 49s
build / build (push) Successful in 2m5s
build / trigger-build-image (push) Failing after 11s
feat(parser): unify default length 2048
2025-04-05 05:50:07 -04:00

26 lines
680 B
Go

// Package resultdetail provides detailed execution result output.
package resultdetail
import "github.com/joint-online-judge/JOJ3/internal/stage"
var name = "result-detail"
type Conf struct {
Score int
ShowExecutorStatus bool `default:"true"`
ShowExitStatus bool `default:"false"`
ShowError bool `default:"false"`
ShowTime bool `default:"true"`
ShowMemory bool `default:"true"`
ShowRunTime bool `default:"false"`
ShowFiles []string
FilesInCodeBlock bool `default:"true"`
MaxFileLength int `default:"2048"`
}
type ResultDetail struct{}
func init() {
stage.RegisterParser(name, &ResultDetail{})
}