console

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: May 11, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PASS    = "PASS"
	FAIL    = "FAIL"
	SKIP    = "SKIP"
	UNKNOWN = "UNKNOWN"
)

for colouring

Variables

This section is empty.

Functions

func Debug

func Debug(opts *models.Options, format string, args ...interface{})

Debug prints formatted debug messages when debug mode is enabled in options.

func PrintDiff

func PrintDiff(diff []byte)

PrintDiff prints colorful diff

func PrintFail

func PrintFail(out string)

PrintFail prints in red

func PrintPass

func PrintPass(out string)

PrintPass prints in green

func PrintSkip

func PrintSkip(out string)

PrintSkip prints in yellow

func PrintUnknown

func PrintUnknown(out string)

PrintUnknown prints in magenta

func Verbose

func Verbose(opts *models.Options, format string, args ...interface{})

Verbose prints formatted messages when either verbose or debug mode is enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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