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

go-playground / validator / 5777750233
74%
v8: 100%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: v8
Ran 06 Aug 2023 04:55PM UTC
Jobs 1
Files 27
Run time 2s
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

06 Aug 2023 04:54PM UTC coverage: 73.987% (+0.02%) from 73.972%
5777750233

push

github

web-flow
Feature: nested struct validation (#1122)

## Fixes #367, #906

**Make sure that you've checked the boxes below before you submit PR:**
- [x] Tests exist or have been written that cover this particular
change.

A test has been added for custom tags, however I was not brave enough to
actually update the tests for all required/excluded tag variants before
getting an initial feedback, but I'm willing to do so if this ever gets
any further.

Same goes for documentation.

The implementation supports both struct and struct pointer validations
for custom tags and all required/excluded tag variants.

Struct validity is evaluated first and fields are evaluated only if the
struct is valid, though I'm not sure if this is the desired behavior.

@go-playground/validator-maintainers

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

11499 of 15542 relevant lines covered (73.99%)

83.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5777750233.1 06 Aug 2023 04:55PM UTC 27
73.99
GitHub Action Run
Source Files on build 5777750233
  • Tree
  • List 27
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b293a5c3 on github
  • Prev Build on master (#5169674798)
  • Next Build on master (#5777752215)
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

© 2025 Coveralls, Inc