Versions in this module Expand all Collapse all v0 v0.1.0 May 4, 2023 Changes in this version + func Black(ctx *Context) + func BlackBackground(ctx *Context) + func Blink(ctx *Context) + func Blue(ctx *Context) + func BlueBackground(ctx *Context) + func Bold(ctx *Context) + func BrightBlack(ctx *Context) + func BrightBlackBackground(ctx *Context) + func BrightBlue(ctx *Context) + func BrightBlueBackground(ctx *Context) + func BrightCyan(ctx *Context) + func BrightCyanBackground(ctx *Context) + func BrightGreen(ctx *Context) + func BrightGreenBackground(ctx *Context) + func BrightMagenta(ctx *Context) + func BrightMagentaBackground(ctx *Context) + func BrightRed(ctx *Context) + func BrightRedBackground(ctx *Context) + func BrightWhite(ctx *Context) + func BrightWhiteBackground(ctx *Context) + func BrightYellow(ctx *Context) + func BrightYellowBackground(ctx *Context) + func Cyan(ctx *Context) + func CyanBackground(ctx *Context) + func Default(ctx *Context) + func DefaultBackground(ctx *Context) + func Faint(ctx *Context) + func Green(ctx *Context) + func GreenBackground(ctx *Context) + func Invisible(ctx *Context) + func Italic(ctx *Context) + func Magenta(ctx *Context) + func MagentaBackground(ctx *Context) + func Negative(ctx *Context) + func NoBlink(ctx *Context) + func NoBold(ctx *Context) + func NoFaint(ctx *Context) + func NoInvisible(ctx *Context) + func NoItalic(ctx *Context) + func NoNegative(ctx *Context) + func NoStrikeThrough(ctx *Context) + func NoUnderline(ctx *Context) + func Red(ctx *Context) + func RedBackground(ctx *Context) + func StrikeThrough(ctx *Context) + func Underline(ctx *Context) + func White(ctx *Context) + func WhiteBackground(ctx *Context) + func Yellow(ctx *Context) + func YellowBackground(ctx *Context) + type Context struct + func (ctx *Context) Apply(opts ...Option) + func (ctx *Context) Format(format string, a ...interface{}) string + func (ctx *Context) Render(s string) string + func (ctx *Context) Reset() + func (ctx *Context) Set(opts ...Option) + func (ctx *Context) With(opts ...Option) *Context + func (ctx *Context) Write(w io.Writer, data []byte) (int, error) + type Option func(*Context) + type Writer struct + func New() *Writer + func NewWriter(w io.Writer) *Writer + func (w Writer) With(opts ...Option) *Writer + func (w Writer) Write(b []byte) (n int, err error)