JOJ3/internal/parser/resultdetail/meta.go
张泊明518370910136 b809488c71
All checks were successful
submodules sync / sync (push) Successful in 34s
build / build (push) Successful in 1m23s
build / trigger-build-image (push) Successful in 8s
feat: show proc peak [force build]
2025-06-02 19:02:41 -04:00

27 lines
723 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"`
ShowProcPeak bool `default:"false"`
ShowFiles []string
FilesInCodeBlock bool `default:"true"`
MaxFileLength int `default:"2048"`
}
type ResultDetail struct{}
func init() {
stage.RegisterParser(name, &ResultDetail{})
}