The sysexits
package exports various ExitCode
values that align with
/usr/include/sysexits.h
. For example, instead of returning os.Exit(0)
or
os.Exit(1)
, return os.Exit(sysexits.OK)
and os.Exit(sysexits.Software)
,
respectively.
-
Notifications
You must be signed in to change notification settings - Fork 1
Go sysexits
License
sean-/sysexits
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|