output

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package output provides response formatting and syntax highlighting.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Highlight

func Highlight(raw string, contentType string, noColor bool) string

Highlight applies syntax highlighting and pretty-printing to the given raw string based on content type. If noColor is true or stdout is not a TTY, it returns pretty-printed output without colors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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