color

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bluef

func Bluef(format string, args ...interface{})

func Errf

func Errf(format string, args ...interface{})

Outputs to stderr.

func Greenf

func Greenf(format string, args ...interface{})

func Outf

func Outf(format string, args ...interface{})

Outputs to stdout.

e.g.,

Out("{{green}}{{bold}}hi there %q{{/}}", "aa")
Out("{{magenta}}{{bold}}hi therea{{/}} {{cyan}}{{underline}}b{{/}}")

ref. https://github.com/onsi/ginkgo/blob/v2.0.0/formatter/formatter.go#L52-L73

func Redf

func Redf(format string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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