fmt

package
v1.8.8 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Green   xColorFmt
	Red     xColorFmt
	Cyan    xColorFmt
	Magenta xColorFmt
	Black   xColorFmt
	Blue    xColorFmt
	White   xColorFmt
	Yellow  xColorFmt

	HiBlack   xColorFmt
	HiBlue    xColorFmt
	HiCyan    xColorFmt
	HiGreen   xColorFmt
	HiMagenta xColorFmt
	HiRed     xColorFmt
	HiWhite   xColorFmt
	HiYellow  xColorFmt

	BgGreen   xColorFmt
	BgRed     xColorFmt
	BgCyan    xColorFmt
	BgMagenta xColorFmt
	BgBlack   xColorFmt
	BgBlue    xColorFmt
	BgWhite   xColorFmt
	BgYellow  xColorFmt

	BgHiBlack   xColorFmt
	BgHiBlue    xColorFmt
	BgHiCyan    xColorFmt
	BgHiGreen   xColorFmt
	BgHiMagenta xColorFmt
	BgHiRed     xColorFmt
	BgHiWhite   xColorFmt
	BgHiYellow  xColorFmt
)

Functions

func Color

func Color(a ...color.Attribute) *xColorFmt

func Fprint

func Fprint(w io.Writer, a ...any) (n int, err error)

func Fprintf

func Fprintf(w io.Writer, format string, a ...any) (n int, err error)

func Fprintln

func Fprintln(w io.Writer, a ...any) (n int, err error)

func Print

func Print(a ...any) (n int, err error)

func Printf

func Printf(format string, a ...any) (n int, err error)

func Println

func Println(a ...any) (n int, err error)

func Sprint

func Sprint(a ...any) string

func Sprintf

func Sprintf(format string, a ...any) string

func Sprintln

func Sprintln(a ...any) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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