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.
Click to show internal directories.
Click to hide internal directories.