Documentation
¶
Overview ¶
Package presenter provides utilities for showing results to the user in different format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option struct { // OutputFormat is the output format of result format (table, json) of the report OutputFormat string // Limit is the number of rows to show in the result (table format only) Limit int }
Option is the option used for presenter.
type Presenter ¶
Presenter will show the analysis result to a given io.Writer.
func NewPresenter ¶
NewPresenter will init a Presenter based on format.
Directories
¶
Path | Synopsis |
---|---|
Package cyclondx provides utilities for showing results in cyclondx format
|
Package cyclondx provides utilities for showing results in cyclondx format |
Package json provides utilities for showing results in json format
|
Package json provides utilities for showing results in json format |
Package table provides utilities for showing results in table format
|
Package table provides utilities for showing results in table format |
Click to show internal directories.
Click to hide internal directories.