exitcode

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2021 License: CC0-1.0 Imports: 1 Imported by: 0

Documentation

Overview

Package exitcode : OS exit code enumeration

These codes are licensed under CC0. http://creativecommons.org/publicdomain/zero/1.0/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExitCode

type ExitCode int

ExitCode is OS exit code enumeration class

const (
	//Normal is OS exit code "normal"
	Normal ExitCode = iota
	//Abnormal is OS exit code "abnormal"
	Abnormal
)

func (ExitCode) Exit

func (c ExitCode) Exit()

Exit calls os.Exit()

func (ExitCode) String

func (c ExitCode) String() string

Stringer method

Jump to

Keyboard shortcuts

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