JOJ3/internal/parser/healthcheck/meta.go
张泊明518370910136 4c15ac48d9
Some checks failed
build / build (push) Successful in 2m16s
build / trigger-build-image (push) Successful in 13s
submodules sync / sync (push) Has been cancelled
feat(healthcheck): support score
2025-05-29 00:06:06 -04:00

20 lines
429 B
Go

// Package healthcheck parses the output of the repo-health-checker tool and
// return forced quit status on error.
package healthcheck
import "github.com/joint-online-judge/JOJ3/internal/stage"
var name = "healthcheck"
type Healthcheck struct{}
type Conf struct {
Score int `default:"0"`
Stdout string `default:"stdout"`
Stderr string `default:"stderr"`
}
func init() {
stage.RegisterParser(name, &Healthcheck{})
}