Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 163 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 163 Bytes

retcode package for Go

Deterministic process exit codes based on Go errors.

Usage

err := fmt.Errorf("example error")
os.Exit(retcode.Calc(err))