colorstyle

package
v0.0.0-...-b6fc690 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: BSD-3-Clause, BSD-3-Clause, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default = Style(iota)
	Dim
	Reset
	Reversed
	Bold
	Underline
	Black
	Red
	Green
	Yellow
	Blue
	Magenta
	Cyan
	White
	Orange
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Style

type Style int

type Styler

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

func New

func New(writer io.Writer) *Styler

func (*Styler) SetStyle

func (w *Styler) SetStyle(s Style, bright bool)

Jump to

Keyboard shortcuts

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