report

package
v0.49.4 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WriteToConsole string = "-"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reporter added in v0.14.1

type Reporter interface {
	Report(io.Writer, []report.Failure) error
}

Reporter is responsible to output results in the specific format.

type ReporterWithOutput added in v0.46.0

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

func NewReporterWithOutput added in v0.46.0

func NewReporterWithOutput(r Reporter, targetFile string) *ReporterWithOutput

func (ReporterWithOutput) ReportWithFallback added in v0.46.0

func (ro ReporterWithOutput) ReportWithFallback(w io.Writer, failures []report.Failure) error

type ReportersWithOutput added in v0.46.0

type ReportersWithOutput []ReporterWithOutput

func (ReportersWithOutput) ReportWithFallback added in v0.46.0

func (ros ReportersWithOutput) ReportWithFallback(w io.Writer, failures []report.Failure) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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