ui

package
v3.9.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2018 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Examples

Constants

This section is empty.

Variables

View Source
var (

	// Out is a writer for messages
	Out io.Writer = os.Stdout
	// ErrOut is a writer for error messages
	ErrOut io.Writer = os.Stderr
)

Functions

func Print

func Print(msg ...interface{})

Print writes msg to Out

Example
Out = os.Stdout
Print("this is a message")
Output:

-> this is a message

func PrintError

func PrintError(msg ...interface{})

PrintError writes msg to ErrOut

Example
ErrOut = os.Stdout
PrintError("this is an error")
Output:

-> this is an error

Types

This section is empty.

Jump to

Keyboard shortcuts

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