printer

package
v0.63.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 9 Imported by: 33

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