utils

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2015 License: GPL-2.0 Imports: 3 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(verbose bool, args ...string) error

execute an external command and update the output as it's being written

func Fail

func Fail(buf string) string

adds the \x1b[31m prefix and the \x1b[0m suffix to the given string

func LogOperation

func LogOperation(readers []*bufio.Reader)

read logs from external commands

func Ok

func Ok(buf string) string

adds the \x1b[32m prefix and the \x1b[0m suffix to the given string

Types

This section is empty.

Jump to

Keyboard shortcuts

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