print

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Stdout is new instance of Writer which handles escape sequence for stdout.
	Stdout = colorable.NewColorableStdout()
	// Stderr is new instance of Writer which handles escape sequence for stderr.
	Stderr = colorable.NewColorableStderr()
)

Functions

func Err

func Err(err interface{})

Err print error message at STDERR in yellow. This function is used to print error message to the user.

func Info

func Info(msg string)

Info print information message at STDOUT in green. This function is used to print some information (that is not error) to the user.

func Warn

func Warn(err interface{})

Warn print warning message at STDERR in yellow. This function is used to print warning message to the user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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