output

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package output renders scan results as a terminal table, JSON, or CSV.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderCSV

func RenderCSV(w io.Writer, results []model.Result) error

RenderCSV writes one row per result with list fields joined by " | ".

func RenderJSON

func RenderJSON(w io.Writer, results []model.Result) error

RenderJSON writes the results as an indented JSON array.

func RenderTable

func RenderTable(w io.Writer, results []model.Result)

RenderTable writes a summary table followed by a per-target detail section.

func SetColor

func SetColor(on bool)

SetColor lets callers (e.g. tests, or the --no-color flag) force color on/off.

Types

This section is empty.

Jump to

Keyboard shortcuts

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