• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alexferl / zerohttp / 23093882932
94%

Build:
DEFAULT BRANCH: master
Ran 14 Mar 2026 06:35PM UTC
Jobs 1
Files 83
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Mar 2026 06:34PM UTC coverage: 93.743% (+0.6%) from 93.164%
23093882932

push

github

web-flow
feat(validator): add type registry to cache reflection metadata (#106)

Add validatorTypeRegistry with sync.Map to cache parsed struct field metadata,
eliminating repeated tag parsing and reflection calls at validation time.

Performance: 2-3x faster validation, 50-70% less memory, 50% fewer allocations.

Adds registry.go (100% coverage) and refactors validateStruct/validateField
to use pre-parsed field info instead of runtime reflection.

Signed-off-by: alexferl <me@alexferl.com>

105 of 108 new or added lines in 2 files covered. (97.22%)

5 existing lines in 3 files now uncovered.

9005 of 9606 relevant lines covered (93.74%)

78.29 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
97.26
internal/validator/registry.go
1
97.07
8.7% internal/validator/validator.go

Coverage Regressions

Lines Coverage ∆ File
2
82.89
-0.88% internal/bind/registry.go
2
93.94
0.0% sse.go
1
97.07
8.7% internal/validator/validator.go
Jobs
ID Job ID Ran Files Coverage
1 23093882932.1 14 Mar 2026 06:35PM UTC 83
93.74
GitHub Action Run
Source Files on build 23093882932
  • Tree
  • List 83
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23093882932
  • cb258e4e on github
  • Prev Build on master (#23093061092)
  • Next Build on master (#23094447678)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc