exitcode

package
v2.0.0-alpha.25 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: MIT Imports: 1 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExitCode

type ExitCode int

ExitCode is a simple integer type that represents an exit code. It can be used to provide a more semantically meaningful exit code than a simple integer.

const (
	// Success indicates that the program exited successfully.
	Success ExitCode = 0

	// Failure indicates that the program exited unsuccessfully.
	Failure ExitCode = 1
)

func (ExitCode) String

func (i ExitCode) String() string

Jump to

Keyboard shortcuts

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