printutil

package
v0.0.0-...-6eb79dc Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogAndExit

func LogAndExit(format string, args ...interface{})

LogAndExit prints a line and exit

func LogErrorAndExit

func LogErrorAndExit(err error)

LogErrorAndExit prints an error and exits

func PrintError

func PrintError(format string, args ...interface{})

PrintError prints a string and prefix it with a red `[Error]` marker

func PrintSuccess

func PrintSuccess(format string, args ...interface{})

PrintSuccess prints a string and prefix it with a green `[Done]` marker

Types

This section is empty.

Jump to

Keyboard shortcuts

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