printer

package
v0.0.0-...-6d798f0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReportPrinter

type ReportPrinter struct {
	Out    io.Writer
	Report *runner.Report
}

ReportPrinter is used for printing the report

func (*ReportPrinter) Print

func (rp *ReportPrinter) Print(format string) error

Print the report using the given format If format is "csv" detailed listing is printer in csv format. Otherwise the summary of results is printed.

Supported Format:

summary
csv
json
pretty
html
influx-summary
influx-details

Jump to

Keyboard shortcuts

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