printer

package
v1.0.37 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NewLine   = "\n"
	EmptyLine = ""
)

Variables

This section is empty.

Functions

func Style

func Style(s lipgloss.Style, text string) string

Types

type Printer

type Printer struct {
	// contains filtered or unexported fields
}

func NewPrinter

func NewPrinter(out io.Writer) Printer

func (Printer) Print

func (p Printer) Print(a ...any)

func (Printer) PrintLines

func (p Printer) PrintLines(lines ...string)

func (Printer) Printf

func (p Printer) Printf(format string, args ...any)

func (Printer) Println

func (p Printer) Println(a ...any)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳