cliutil

package
v0.0.0-...-670b31e Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Complain

func Complain(err error)

Complain handles an error of it gets one, by printing it but does not exit.

func ExitIfError

func ExitIfError(err error)

ExitIfError handles an error of it gets one, by printing it and exiting with status code 1.

func PrintInfo

func PrintInfo(message string, v ...interface{})

PrintInfo just logs an info.

func PrintSuccess

func PrintSuccess(message string, v ...interface{})

PrintSuccess just prints a success message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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