Skip to content

feat: initial businessid library - #1

Merged
euskadi31 merged 3 commits into
mainfrom
feature/base
Jul 2, 2026
Merged

feat: initial businessid library#1
euskadi31 merged 3 commits into
mainfrom
feature/base

Conversation

@euskadi31

Copy link
Copy Markdown
Contributor

Offline validator for common business identifiers (SIREN, SIRET, LEI, VAT, DUNS, EIN, UK company number, EUID, EORI, national registration number) with a three-level model (format / checksum / registry) and a provider-based design so callers only wire in the kinds they need. Includes shared Luhn and ISO 7064 Mod 97-10 helpers, a defaults sub-package for the ready-to-use validator, and table-driven tests at 100% coverage.

Offline validator for common business identifiers (SIREN, SIRET, LEI,
VAT, DUNS, EIN, UK company number, EUID, EORI, national registration
number) with a three-level model (format / checksum / registry) and a
provider-based design so callers only wire in the kinds they need.
Includes shared Luhn and ISO 7064 Mod 97-10 helpers, a defaults
sub-package for the ready-to-use validator, and table-driven tests at
100% coverage.
@euskadi31 euskadi31 self-assigned this Jul 2, 2026
euskadi31 added 2 commits July 2, 2026 02:16
Run build, test (race + coverage), lint and Coveralls upload on push
and PR against main. Dependabot bumps gomod and github-actions weekly.
Aligns go.mod with the toolchain used locally and in CI so the module
compiles without a downgrade prompt.
@coveralls

coveralls commented Jul 2, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 28556531159

Warning

No base build found for commit 8f53739 on main.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 100.0%

Details

  • Patch coverage: 1010 of 1010 lines across 15 files are fully covered (100%).

Uncovered Changes

No uncovered changes found.

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 1010
Covered Lines: 1010
Line Coverage: 100.0%
Coverage Strength: 7.35 hits per line

💛 - Coveralls

@euskadi31
euskadi31 merged commit a570b48 into main Jul 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants