tbl

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// HdrAppHit stores the header for app hits.
	HdrAppHit = []string{"Path", "Date", "Malware", "Created", "Modified", "User", "Group", "Status", "Actions"}

	// HdrFileReport stores the header for file report.
	HdrFileReport = []string{"Path", "Malware", "Status", "Actions"}
)

Functions

func Prepare

func Prepare(hdrs []string, rows [][]string) ([]string, [][]string)

Prepare formats header and row data for table output.

func Print

func Print(title string, hdrs []string, rows [][]string) error

Print prints a table.

Types

This section is empty.

Jump to

Keyboard shortcuts

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