exit

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: MPL-2.0 Imports: 2 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(format string, a ...interface{})

Error terminates execution using unsuccessful execution exit code.

func Fatal

func Fatal(format string, a ...interface{})

Fatal terminates execution using fatal exit code.

func OK

func OK(format string, a ...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