exit

package
v0.0.0-...-ea67977 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CodeOK indicates successful execution.
	CodeOK = 0

	// CodeError indicates erroneous execution.
	CodeError = 1

	// CodeFatal indicates erroneous use by user.
	CodeFatal = 2
)

Variables

This section is empty.

Functions

func Error

func Error(err error)

Error terminates execution using unsuccessful execution exit code.

func Fatal

func Fatal(err error)

Fatal terminates execution using fatal exit code.

func GoodEnough

func GoodEnough(fmtStr string, s ...interface{})

GoodEnough terminates execution successfully, but indicates that something is missing.

func OK

func OK(fmtStr string, s ...interface{})

OK terminates execution successfully.

Types

This section is empty.

Jump to

Keyboard shortcuts

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