Documentation
¶
Index ¶
- Constants
- func ColorEnabled(w io.Writer) bool
- func JSON(w io.Writer, r ports.Report) error
- func SARIF(w io.Writer, r ports.Report, toolVersion string) error
- func Table(w io.Writer, r ports.Report) error
- func Write(w io.Writer, format string, r ports.Report, version string) error
- func WriteFinding(w io.Writer, f domain.Finding, color bool, lastFile string) string
- func YAML(w io.Writer, r ports.Report) error
Constants ¶
View Source
const Disclaimer = "" /* 157-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func ColorEnabled ¶
ColorEnabled reports whether w is a color TTY.
func WriteFinding ¶
WriteFinding displays a single finding. lastFile is the preceding file header; the result is value should be passed back on the next call.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.