Documentation
¶
Index ¶
Constants ¶
View Source
const ( RepoW = 24 BranchW = 25 UncommW = 12 AheadW = 6 BehindW = 6 )
Variables ¶
View Source
var ( BoldS = color.New(color.Bold).SprintfFunc() DimS = color.New(color.Faint).SprintfFunc() GrayS = color.New(color.FgHiBlack).SprintfFunc() CyanBold = color.New(color.FgCyan, color.Bold).SprintfFunc() MagBold = color.New(color.FgMagenta, color.Bold).SprintfFunc() BlueS = color.New(color.FgBlue).SprintfFunc() RedS = color.New(color.FgRed).SprintfFunc() RedB = color.New(color.FgRed, color.Bold).SprintfFunc() GreenS = color.New(color.FgGreen).SprintfFunc() YellowS = color.New(color.FgYellow).SprintfFunc() )
Functions ¶
func RenderReposTable ¶
func RenderReposTable(r report.ScanReport)
func RenderScanReportAsJson ¶
func RenderScanReportAsJson(r report.ScanReport) error
func RenderScanReportAsTable ¶
func RenderScanReportAsTable(r report.ScanReport)
Table setup (Path last, not truncated)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.