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

tecnickcom / gogen / 28881316967
100%

Build:
DEFAULT BRANCH: main
Ran 07 Jul 2026 04:19PM UTC
Jobs 1
Files 168
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

07 Jul 2026 04:14PM UTC coverage: 99.971%. Remained the same
28881316967

push

github

nicolaasuni
fix(validator): drop custom ein override, fill missing error templates, and harden falseif/template handling

- Remove the custom "ein" validator and rely on the upstream go-playground built-in; drop its regex constant/var, the CustomValidationTags entry, and the hyphenless-form test data.
- Add error templates for the built-in tags bcp47_strict_language_tag, mimetype, noneof, noneofci, and origin so they render human-readable messages instead of the generic fallback.
- Parse falseif numeric parameters in base 10 so values such as "010" mean ten rather than octal.
- Validate error templates at registration by executing each against a sample Error, surfacing missing-field references instead of silently degrading to the generic message at render time.
- Guard isE164NoPlus and isUSZIPCode against non-string fields for consistency with the other custom validators.
- Simplify OR-tag error handling: parse each tag once via strings.Cut and skip the falseif helper inside tagError; drop the unused nullable parameter from hasDefaultValue.
- Document falseif semantics (missing-field skip, slice/map/array length comparison, multi-word values), the ctx behavior of ValidateStructCtx, and the sensitive-value caution on Error.Value.
- Add regression tests for error-template completeness, non-generic rendering, and non-string custom-validator inputs; coverage stays at 100%.

32 of 32 new or added lines in 4 files covered. (100.0%)

13910 of 13914 relevant lines covered (99.97%)

981.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28881316967.1 07 Jul 2026 04:19PM UTC 168
99.97
GitHub Action Run
Source Files on build 28881316967
  • Tree
  • List 168
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28881316967
  • 0a633c8f on github
  • Prev Build on main (#28879721455)
  • Next Build on main (#28886800327)
  • Delete
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