exit
Error makes exit code meaningful
Description
Inspired from sysexits.h and created it.
The following are quoted contents from manpage of the sysexits.h.
According to style(9), it is not a good practice to call exit(3) with
arbitrary values to indicate a failure condition when ending a program.
Instead, the pre-defined exit codes from sysexits should be used, so the
caller of the process can get a rough estimation about the failure class
without looking up the source code.
You can read example.
And if you want to know more details, please read here.
Install
go get github.com/Code-Hex/exit
Contributing
Welcome!!
I'm waiting for pull requests or reporting issues.