output

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter interface {
	Format(result *scanner.ScanResult) error
}

Formatter defines the interface for output formatting

type TableFormatter

type TableFormatter struct {
	// contains filtered or unexported fields
}

TableFormatter formats output as a table

func NewTableFormatter

func NewTableFormatter() *TableFormatter

NewTableFormatter creates a new table formatter

func (*TableFormatter) Format

func (t *TableFormatter) Format(result *scanner.ScanResult) error

Format outputs the scan results as a formatted table

func (*TableFormatter) SetShowConflictsOnly

func (t *TableFormatter) SetShowConflictsOnly(show bool)

SetShowConflictsOnly sets whether to show only conflicting binaries

func (*TableFormatter) SetShowGhostsOnly

func (t *TableFormatter) SetShowGhostsOnly(show bool)

SetShowGhostsOnly sets whether to show only ghost binaries

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL