Files
goreportcard/check/check.go
2015-02-07 07:25:05 -08:00

12 lines
316 B
Go

package check
// Check describes what methods various checks (gofmt, go lint, etc.)
// should implement
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)
}