output

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HuhTheme = huh.ThemeBase()

Functions

func WriteLine

func WriteLine(out *os.File, v ...any)

Types

type Block

type Block struct {
	Name   string
	Values []BlockValue
}

func (Block) Output

func (b Block) Output(out *os.File, styles Styles, indentation int)

type BlockValue

type BlockValue struct {
	Key   string
	Value any
}

type Styles

type Styles struct {
	BlockHeader lipgloss.Style
	BlockData   lipgloss.Style

	SynthientColor lipgloss.Style
	// contains filtered or unexported fields
}

func NewStyles

func NewStyles(out *os.File) Styles

Jump to

Keyboard shortcuts

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