Documentation ¶ Index ¶ Variables func Register(command *Check) func RunChecks(ctx context.Context, colorize, autofix bool, checks []*Check) error func SortChecks(checks []*Check) type Check Constants ¶ This section is empty. Variables ¶ View Source var Checks []*Check Checks is the list of available commands Functions ¶ func Register ¶ func Register(command *Check) Register registers a command with the list func RunChecks ¶ func RunChecks(ctx context.Context, colorize, autofix bool, checks []*Check) error RunChecks runs the doctor checks for the provided list func SortChecks ¶ func SortChecks(checks []*Check) Types ¶ type Check ¶ type Check struct { Title string Name string IsDefault bool Run func(ctx context.Context, logger log.Logger, autofix bool) error AbortIfFailed bool SkipDatabaseInitialization bool Priority int InitStorage bool } Check represents a Doctor check Source Files ¶ View all Source files authorizedkeys.gobreaking.gocheckOldArchives.godbconsistency.godbversion.godoctor.gofix16961.gofix8312.goheads.golfs.gomergebase.gomisc.gopaths.gorepository.gostorage.gousertype.go Click to show internal directories. Click to hide internal directories.