Files
goreportcard/check/check.go
2015-01-30 00:35:43 +09:00

10 lines
226 B
Go

package check
type Check interface {
Name() string
Description() string
// Percentage returns the passing percentage of the check,
// as well as a map of filename to output
Percentage() (float64, []FileSummary, error)
}