util

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func PrettyPrint

func PrettyPrint(out io.Writer, msg string, a ...interface{})

PrettyPrint no type will be displayed, used for just single line printing

func PrettyPrintErr

func PrettyPrintErr(out io.Writer, msg string, a ...interface{})

PrettyPrintErr [ERROR](Red) with formatted string

func PrettyPrintErrorIgnored

func PrettyPrintErrorIgnored(out io.Writer, msg string, a ...interface{})

PrettyPrintErrorIgnored [ERROR IGNORED](Red) with formatted string

func PrettyPrintOk

func PrettyPrintOk(out io.Writer, msg string, a ...interface{})

PrettyPrintOk [OK](Green) with formatted string

func PrettyPrintSkipped

func PrettyPrintSkipped(out io.Writer, msg string, a ...interface{})

PrettyPrintSkipped [SKIPPED](blue) with formatted string

func PrettyPrintUnreachable

func PrettyPrintUnreachable(out io.Writer, msg string, a ...interface{})

PrettyPrintUnreachable [UNREACHABLE](Red) with formatted string

func PrettyPrintWarn

func PrettyPrintWarn(out io.Writer, msg string, a ...interface{})

PrettyPrintWarn [WARNING](Orange) with formatted string

func PrintColor

func PrintColor(out io.Writer, clr *color.Color, msg string, a ...interface{})

PrintColor prints text in color

func PrintError

func PrintError(out io.Writer)

PrintError print whole message in error(Red) format

func PrintHeader

func PrintHeader(out io.Writer, msg string)

PrintHeader will print header with predifined width

func PrintOk

func PrintOk(out io.Writer)

PrintOk print whole message in green(Red) format

func PrintOkln

func PrintOkln(out io.Writer)

PrintOkln print whole message in green(Red) format

func PrintSkipped

func PrintSkipped(out io.Writer)

PrintSkipped print whole message in green(Red) format

func PrintWarn

func PrintWarn(out io.Writer)

PrintWarn print whole message in warn(Orange) format

Types

This section is empty.

Jump to

Keyboard shortcuts

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