ui

package
v0.0.0-...-f05ad83 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2019 License: Apache-2.0 Imports: 10 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsoleWidth

func ConsoleWidth() int

ConsoleWidth returns the console's width.

func Emphasize

func Emphasize(msg string) string

Emphasize returns a `emphasized` colored string.

func EnableColors

func EnableColors(enabled bool)

EnableColors enables or disable output coloring.

func Error

func Error(msg string, args ...interface{})

Error prints an error message.

func Fatal

func Fatal(msg string, args ...interface{})

Fatal prints an error message and exits.

func Info

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

Info prints an info message.

func Live

func Live(msg string)

Live is used to print a live message. Subsequent calls will replace the line.

func Small

func Small(msg string) string

Small returns a `small` colored string.

func Success

func Success(msg string, args ...interface{})

Success prints a success message.

func Tree

func Tree(p string, ignore []string) error

Tree prints a source tree.

func Verbose

func Verbose(msg string, args ...interface{})

Verbose prints a verbose message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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