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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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