cli

package
v0.0.0-...-22c49a1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DieIf

func DieIf(err error)

DieIf invoke os.Exit if err is not nil

func Error

func Error(value ...interface{})

Error print values to os.Stderr in red color

func Errorf

func Errorf(format string, value ...interface{})

Errorf format and print values to os.Stderr in red color

func Fatal

func Fatal(value ...interface{})

Fatal print values to os.Stderr in red color and invoke os.Exit with non zero status code

func Fatalf

func Fatalf(format string, value ...interface{})

Fatalf format and print values to os.Stderr in red color and invoke os.Exit with non zero status code

func Info

func Info(value ...interface{})

Info print values to os.Stdout in white color

func Infof

func Infof(format string, value ...interface{})

Infof format and print values to os.Stdout in white color

func Success

func Success(value ...interface{})

Success print values to os.Stdout in green color

func Warn

func Warn(value ...interface{})

Warn print values to os.Stdout in yellow color

func Warnf

func Warnf(format string, value ...interface{})

Warnf format and print values to os.Stdout in yellow color

Types

This section is empty.

Jump to

Keyboard shortcuts

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