Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/osamingo/checkdigit
Provide check digit algorithms and calculators written in Go
https://github.com/osamingo/checkdigit
checkdigit damm ean ean13 ean8 gtin isbn isbn-10 isbn-13 itf jan jan13 jan8 luhn sscc upc verhoeff
Last synced: about 1 month ago
JSON representation
Provide check digit algorithms and calculators written in Go
- Host: GitHub
- URL: https://github.com/osamingo/checkdigit
- Owner: osamingo
- License: mit
- Created: 2019-04-05T09:46:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T15:44:04.000Z (over 1 year ago)
- Last Synced: 2024-08-03T19:10:01.213Z (5 months ago)
- Topics: checkdigit, damm, ean, ean13, ean8, gtin, isbn, isbn-10, isbn-13, itf, jan, jan13, jan8, luhn, sscc, upc, verhoeff
- Language: Go
- Homepage:
- Size: 42 KB
- Stars: 111
- Watchers: 0
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-go-extra - checkdigit - 04-05T09:46:36Z|2022-08-16T11:17:01Z| (Validation / Fail injection)
README
# checkdigit
[![GitHub Actions](https://github.com/osamingo/checkdigit/workflows/CI/badge.svg?branch=master)](https://github.com/osamingo/checkdigit/actions?query=workflow%3ACI+branch%3Amaster)
[![codecov](https://codecov.io/gh/osamingo/checkdigit/branch/master/graph/badge.svg)](https://codecov.io/gh/osamingo/checkdigit)
[![Go Report Card](https://goreportcard.com/badge/osamingo/checkdigit)](https://goreportcard.com/report/osamingo/checkdigit)
[![GoDoc](https://godoc.org/github.com/osamingo/checkdigit?status.svg)](https://godoc.org/github.com/osamingo/checkdigit)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/osamingo/checkdigit/master/LICENSE)## About
Provide check digit algorithms and calculators written by Go.
## Provided methods
### Algorithms
- [Luhn](https://en.wikipedia.org/wiki/Luhn_algorithm)
- [Verhoeff](https://en.wikipedia.org/wiki/Verhoeff_algorithm)
- [Damm](https://en.wikipedia.org/wiki/Damm_algorithm)### Calculators
- [ISBN-10](https://en.wikipedia.org/wiki/International_Standard_Book_Number)
- [ISBN-13](https://en.wikipedia.org/wiki/International_Standard_Book_Number)
- [EAN-8](https://en.wikipedia.org/wiki/EAN-8)
- [EAN-13](https://en.wikipedia.org/wiki/EAN-13)
- [JAN-8](https://en.wikipedia.org/wiki/Japanese_Article_Number)
- [JAN-13](https://en.wikipedia.org/wiki/Japanese_Article_Number)
- [ITF](https://en.wikipedia.org/wiki/Interleaved_2_of_5)
- [UPC](https://en.wikipedia.org/wiki/Universal_Product_Code)
- [SSCC](https://en.wikipedia.org/wiki/Serial_Shipping_Container_Code)## Usage
See [examples](https://godoc.org/github.com/osamingo/checkdigit#pkg-examples).
## License
Released under the [MIT License](https://github.com/osamingo/checkdigit/blob/master/LICENSE).