output

package
v0.0.0-...-b2b1038 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintCSV

func PrintCSV(results []internal.StringResult)

PrintCSV writes results in CSV format.

func PrintJSON

func PrintJSON(results []internal.StringResult, fp string)

PrintJSON writes results in JSON format.

func PrintStats

func PrintStats(results []internal.StringResult, fp string, sections []internal.SectionInfo, col *color.Colorizer)

PrintStats writes statistics to stderr.

func PrintText

func PrintText(results []internal.StringResult, cfg *Config)

PrintText writes results in human-readable colored text format.

func PrintThreat

func PrintThreat(results []internal.StringResult, col *color.Colorizer)

PrintThreat writes threat assessment to stderr.

Types

type Config

type Config struct {
	Color   *color.Colorizer
	Offset  bool
	Context bool
	Quiet   bool
}

Config holds output configuration flags.

Jump to

Keyboard shortcuts

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