Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedFormat = errors.New("unsupported output")
ErrUnsupportedOutputFormat is returned when an output is requested by string that this package doesn't implement.
View Source
var Formats = []Format{ FormatShort, FormatWide, FormatJSON, }
Formats are the supported output formats
Functions ¶
This section is empty.
Types ¶
type Format ¶
type Format string
Format is a supported output format
const ( // FormatShort prints the repositories and their scores. FormatShort Format = "short" // FormatWide prints the package version information, as well as // the repositories and their scores. FormatWide Format = "wide" // FormatJSON prints the report as a JSON document FormatJSON Format = "json" )
Click to show internal directories.
Click to hide internal directories.