exit

package
v0.2.33 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package exit provides constants for process exit codes.

Index

Constants

View Source
const (
	Success = iota
	Failure
)

Exit codes to pass to os.Exit to exit a process.

The values here are deliberately limited as they are intended for use in microservices and exit codes are rarely useful beyoind a simple success or failure. For a richer set of values, consider adopting those defined in sysexits(3) when interactively communicating runtime errors.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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