How to Install golang-github-calmh-luhn-dev in Ubuntu 18.04



Install golang-github-calmh-luhn-dev by entering the following commands in the terminal:

sudo apt update
sudo apt install golang-github-calmh-luhn-dev

Description:

Luhn-mod-N implementation in Go

Package luhn provides a Luhn-mod-N implementation in Go. Function generate returns a check digit for the string s, which should be composed of characters from the Alphabet a. Function validate returns true if the last character of the string s is correct, for a string s composed of characters in the alphabet a.

Homepage: https://github.com/calmh/luhn

Version: 2.0.0-3

Section: universe/devel