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

gookit / validate / 42554555646
91%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2026 03:07AM UTC
Jobs 6
Files 31
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

09 Nov 2026 03:06AM UTC coverage: 90.867% (+0.009%) from 90.858%
42554555646

push

github

inhere
fix(validate): skip unexported fields in the case-insensitive field lookup

findFieldFold (the fallback added in #347 for MD5/URL style names) matched
the first struct field whose name equals the rule name ignoring case,
unexported ones included. A promoted exported field is only registered as
"Settings.WebURL", so it lost to an unexported "webURL" of the outer struct;
an unexported field always reads as missing, which made required fail for a
field that has a value. v2.0.2 resolved the name through FieldByName and
passed.

Skip unexported fields, the same way parseRulesFromTag does. The lower-case
name still resolves to the exported field, so Get("webURL") keeps working.

Regression test from #360; full suite, vet and gofmt are clean.

6 of 6 new or added lines in 1 file covered. (100.0%)

4338 of 4774 relevant lines covered (90.87%)

5.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go-stable - 42554555646.1 09 Nov 2026 03:07AM UTC 31
87.39
GitHub Action Run
2 Go-1.24 - 42554555646.2 09 Nov 2026 03:07AM UTC 31
87.96
GitHub Action Run
3 Go-1.25 - 42554555646.3 09 Nov 2026 03:07AM UTC 31
87.96
GitHub Action Run
4 Go-1.22 - 42554555646.4 09 Nov 2026 03:07AM UTC 31
89.55
GitHub Action Run
5 Go-1.23 - 42554555646.5 09 Nov 2026 03:07AM UTC 31
89.55
GitHub Action Run
6 Go-1.21 - 42554555646.6 09 Nov 2026 03:07AM UTC 30
89.44
GitHub Action Run
Source Files on build 42554555646
  • Tree
  • List 31
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 079047aa on github
  • Prev Build on master (#41381403977)
  • Next Build on master (#43184075303)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc