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

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

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: v8
Ran 18 Feb 2025 05:49AM UTC
Jobs 1
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

18 Feb 2025 05:49AM UTC coverage: 74.348%. Remained the same
13384127819

push

github

web-flow
Use correct pointer in errors.As(). Fix "panic: errors: *target must be interface or implement error" in examples. (#1378)

Only *InvalidValidationError implements error, so we must use double
pointer.
good explanation:
https://www.reddit.com/r/golang/comments/txi397/comment/i3lybab/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
and https://stackoverflow.com/a/69448087/9066110

## Fixes Or Enhances
Fixes `panic: errors: *target must be interface or implement error` for
`_examples/simple/` and `_examples/struct-level/` that was introduced in
https://github.com/go-playground/validator/pull/1346

**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.

@go-playground/validator-maintainers

12718 of 17106 relevant lines covered (74.35%)

84.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13384127819.1 18 Feb 2025 05:49AM UTC 31
74.35
GitHub Action Run
Source Files on build 13384127819
  • Tree
  • List 31
  • Changed 2
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3c162b6a on github
  • Prev Build on master (#13346787143)
  • Next Build on master (#13401227400)
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