Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wavesoftware/go-retcode
Deterministic process exit codes
https://github.com/wavesoftware/go-retcode
Last synced: about 12 hours ago
JSON representation
Deterministic process exit codes
- Host: GitHub
- URL: https://github.com/wavesoftware/go-retcode
- Owner: wavesoftware
- License: apache-2.0
- Created: 2022-07-08T20:58:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-08T21:24:58.000Z (over 2 years ago)
- Last Synced: 2024-10-19T03:18:31.297Z (about 1 month ago)
- Language: Go
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# retcode package for Go
Deterministic process exit codes based on Go errors.
## Usage
```go
err := fmt.Errorf("example error")
os.Exit(retcode.Calc(err))
```