console

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Verbose = false
	Color   = true
)

Functions

func Debug

func Debug(msg string, a ...interface{})

func Error

func Error(err error, msg string, a ...interface{})

func ErrorExit

func ErrorExit(err error, msg string, a ...interface{})

func Exit

func Exit(code int)
func Header(s string)

func Info

func Info(msg string, a ...interface{})

func InfoExit

func InfoExit(msg string, a ...interface{})

func Issue

func Issue(msg string, a ...interface{})

func IssueExit

func IssueExit(msg string, a ...interface{})

func KeyValue

func KeyValue(key, value string, a ...interface{})

func LogLine

func LogLine(prefix, msg string, color int)

func SetVerbose

func SetVerbose(verbose bool)

func Shell

func Shell(msg string, a ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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