color

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: BSD-3-Clause Imports: 2 Imported by: 1

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