An open API service indexing awesome lists of open source software.

https://github.com/suzuki-shunsuke/go-error-with-exit-code

Golang library to set the exit code to the error
https://github.com/suzuki-shunsuke/go-error-with-exit-code

golang library oss

Last synced: over 1 year ago
JSON representation

Golang library to set the exit code to the error

Awesome Lists containing this project

README

          

# go-error-with-exit-code

Golang library to set the exit code to the error.

[![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://pkg.go.dev/github.com/suzuki-shunsuke/go-error-with-exit-code/ecerror)
[![Build Status](https://cloud.drone.io/api/badges/suzuki-shunsuke/go-error-with-exit-code/status.svg)](https://cloud.drone.io/suzuki-shunsuke/go-error-with-exit-code)
[![codecov](https://codecov.io/gh/suzuki-shunsuke/go-error-with-exit-code/branch/master/graph/badge.svg)](https://codecov.io/gh/suzuki-shunsuke/go-error-with-exit-code)
[![Go Report Card](https://goreportcard.com/badge/github.com/suzuki-shunsuke/go-error-with-exit-code)](https://goreportcard.com/report/github.com/suzuki-shunsuke/go-error-with-exit-code)
[![GitHub last commit](https://img.shields.io/github/last-commit/suzuki-shunsuke/go-error-with-exit-code.svg)](https://github.com/suzuki-shunsuke/go-error-with-exit-code)
[![License](http://img.shields.io/badge/license-mit-blue.svg?style=flat-square)](https://raw.githubusercontent.com/suzuki-shunsuke/go-error-with-exit-code/master/LICENSE)

## Example

Please see [examples](ecerror/example_test.go).

## License

[MIT](LICENSE)