scorecard/checks/all_checks.go

13 lines
240 B
Go
Raw Normal View History

package checks
import "github.com/dlorenc/scorecard/checker"
var AllChecks = []checker.NamedCheck{}
2020-10-13 21:55:14 +03:00
2020-10-13 22:32:52 +03:00
func registerCheck(name string, fn checker.CheckFn) {
2020-10-13 21:55:14 +03:00
AllChecks = append(AllChecks, checker.NamedCheck{
Name: name,
Fn: fn,
})
}