algo

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Luhn

func Luhn(v string) bool

Luhn validates the given string v using the Luhn (mod 10) algorithm. - https://en.wikipedia.org/wiki/Luhn_algorithm

The string v is assumed to contain only digits.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL