render

package
v0.0.0-...-fd78167 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Newline
	String
	Link
	Red
	Green
	Yellow
	Blue
	Magenta
	Cyan
	White
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	BuildAnsi() []byte
	BuildHtml(io.Writer)

	End() Builder
	NewLine() Builder

	Repeat(string, int) Builder

	Print(string) Builder
	Printf(string, ...interface{}) Builder
	Println(string) Builder
	Link(string) Builder

	Red() Builder
	Green() Builder
	Yellow() Builder
	Blue() Builder
	Magenta() Builder
	Cyan() Builder
	White() Builder
}

func New

func New() Builder

Jump to

Keyboard shortcuts

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