Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.

luhnmod10/go

Repository files navigation

Luhn (Mod 10)

Go docs

A fast and simple in-place implementation of the luhn check algorithm in Go. Implementations in other languages can be found at github.com/luhnmod10.

Usage

go get github.com/luhnmod10/go
_ = luhnmod10.Valid("4242424242424242")

Contributing

Contributions are welcome! If you can improve the execution time of this implementation without increasing its complexity, please open a pull request. To test your change, run make in the repository to run the tests and the benchmarks.

About

Fast and simple in-place implementation of the luhn (mod 10) algorithm in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published