Help us shape the future of Go! Take the 2026 Go Developer Survey

static

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cyber   = themeFromPalette(theme.PaletteCyber)
	Matrix  = themeFromPalette(theme.PaletteMatrix)
	Dracula = themeFromPalette(theme.PaletteDracula)
	Nord    = themeFromPalette(theme.PaletteNord)
)

Functions

func Boot

func Boot(w io.Writer, opts Options)

func RenderSingle

func RenderSingle(w io.Writer, value string)

func RenderTable

func RenderTable(w io.Writer, r types.Result, opts Options)

Types

type Options

type Options struct {
	Theme   Theme
	NoColor bool
	Quiet   bool
}

type Theme

type Theme struct {
	Banner lipgloss.Style
	Label  lipgloss.Style
	Value  lipgloss.Style
	Dim    lipgloss.Style
}

func ResolveTheme

func ResolveTheme(name string) Theme

Jump to

Keyboard shortcuts

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