output

package
v0.0.0-...-080b2c9 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatJSON

func FormatJSON(data interface{}) error

FormatJSON formats and prints JSON with proper indentation

func PrintError

func PrintError(message string)

PrintError prints an error message in red

func PrintHeader

func PrintHeader(title string)

PrintHeader prints a formatted header

func PrintInfo

func PrintInfo(message string)

PrintInfo prints an info message in blue

func PrintKeyValue

func PrintKeyValue(key, value string)

PrintKeyValue prints a key-value pair with consistent formatting

func PrintSuccess

func PrintSuccess(message string)

PrintSuccess prints a success message in green

func PrintTable

func PrintTable(headers []string, rows [][]string)

PrintTable prints data in a simple table format

func PrintWarning

func PrintWarning(message string)

PrintWarning prints a warning message in yellow

Types

This section is empty.

Jump to

Keyboard shortcuts

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