printer

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubActionsPrinter added in v0.9.1

type GitHubActionsPrinter struct {
	// contains filtered or unexported fields
}

GitHubActionsPrinter prints the check results like TTYPrinter, and reports them to GitHub Actions: every issue becomes an annotation on the CODEOWNERS file, and the results are added to the job summary.

func NewGitHubActionsPrinter added in v0.9.1

func NewGitHubActionsPrinter(file, summaryPath string) *GitHubActionsPrinter

NewGitHubActionsPrinter returns a printer that reports issues as annotations on the given CODEOWNERS file and writes the job summary to summaryPath.

func (*GitHubActionsPrinter) PrintCheckResult added in v0.9.1

func (p *GitHubActionsPrinter) PrintCheckResult(checkName string, duration time.Duration, checkOut check.Output, checkErr error)

func (*GitHubActionsPrinter) PrintSummary added in v0.9.1

func (p *GitHubActionsPrinter) PrintSummary(allCheck, failedChecks int)

PrintSummary prints the summary, and then the annotations and the job summary for all checks, sorted by check name.

type TTYPrinter

type TTYPrinter struct {
	// contains filtered or unexported fields
}

func (*TTYPrinter) PrintCheckResult

func (tty *TTYPrinter) PrintCheckResult(checkName string, duration time.Duration, checkOut check.Output, checkErr error)

func (*TTYPrinter) PrintSummary

func (*TTYPrinter) PrintSummary(allCheck, failedChecks int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL