output

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Bold    = "\033[1m"
	Dim     = "\033[2m"
	Green   = "\033[32m"
	Yellow  = "\033[33m"
	Cyan    = "\033[36m"
	Red     = "\033[31m"
	Magenta = "\033[35m"
	Reset   = "\033[0m"
)

ANSI color constants

Variables

This section is empty.

Functions

func Info

func Info(msg string)

func Infof

func Infof(format string, a ...any)

func IsJSONMode

func IsJSONMode() bool

func JSONOutput

func JSONOutput(data any)

func SetJSONMode

func SetJSONMode(enabled bool)

func Writer

func Writer() io.Writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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