{"id":46914593,"url":"https://github.com/gospacedev/luhn","last_synced_at":"2026-03-11T02:28:54.718Z","repository":{"id":57693735,"uuid":"485691547","full_name":"gospacedev/luhn","owner":"gospacedev","description":"Luhn Module Verifier","archived":false,"fork":false,"pushed_at":"2022-10-15T03:19:07.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-06-22T18:53:00.194Z","etag":null,"topics":["go-mod","go-module","go-modules","luhn","luhn-algorithm","luhn-checkdigit","luhn-checksum","luhn-validation"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gospacedev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-26T08:07:16.000Z","updated_at":"2023-05-28T15:08:46.000Z","dependencies_parsed_at":"2023-01-20T02:18:27.225Z","dependency_job_id":null,"html_url":"https://github.com/gospacedev/luhn","commit_stats":null,"previous_names":["gocrazygh/luhn","gocrazygt/luhn","gocrazygh/luhn-formula","gocrazygth/luhn-checker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gospacedev/luhn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gospacedev%2Fluhn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gospacedev%2Fluhn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gospacedev%2Fluhn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gospacedev%2Fluhn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gospacedev","download_url":"https://codeload.github.com/gospacedev/luhn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gospacedev%2Fluhn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30367814,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go-mod","go-module","go-modules","luhn","luhn-algorithm","luhn-checkdigit","luhn-checksum","luhn-validation"],"created_at":"2026-03-11T02:28:54.493Z","updated_at":"2026-03-11T02:28:54.695Z","avatar_url":"https://github.com/gospacedev.png","language":"Go","readme":"# luhn-formula\n[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.png?v=103)](https://opensource.org/licenses/mit-license.php)\n\nLuhn Formula is a go module that uses the luhn aglorithm also known as Modulus 10 Algorithm to verify if a number is a luhn number\n\n## Usage\nTo get:\n```\ngo get github.com/gospacedev/luhn-formula\n```\n\nYou can use it as:\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/gospacedev/luhn-formula\"\n)\n\nfunc main() {\n\ta := luhn.Check(\"79927398713\")\n\tb := luhn.Check(\"1111\")\n\tfmt.Println(a)\n\tfmt.Println(b)\n}\n```\n\nThe output will be:\n```\ntrue\nfalse\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgospacedev%2Fluhn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgospacedev%2Fluhn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgospacedev%2Fluhn/lists"}