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

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

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: v8
Ran 28 Mar 2025 03:46PM UTC
Jobs 1
Files 34
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

28 Mar 2025 03:45PM UTC coverage: 74.238% (-0.003%) from 74.241%
14132718394

push

github

web-flow
Update linter to v2.0.2 (#1405)

## Fixes Or Enhances
Recently, the Dependabot
[PR](https://github.com/go-playground/validator/pull/1403) for the
linter update failed.
This PR updates the linter to `v2.0.2`, adds a linter configuration
file, and addresses some obvious errors:
- Error return value of `file.Close` is not checked (errcheck)
- Error return value of `os.Remove` is not checked (errcheck)
- could use strings.ReplaceAll instead (staticcheck)
- could omit type interface{} from declaration; it will be inferred from
the right-hand side (staticcheck)


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

@go-playground/validator-maintainers

5 of 5 new or added lines in 2 files covered. (100.0%)

1 existing line in 1 file now uncovered.

14800 of 19936 relevant lines covered (74.24%)

74.16 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.08
-0.05% baked_in.go
Jobs
ID Job ID Ran Files Coverage
1 14132718394.1 28 Mar 2025 03:46PM UTC 34
74.24
GitHub Action Run
Source Files on build 14132718394
  • Tree
  • List 34
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 433b0828 on github
  • Prev Build on master (#13957154047)
  • Next Build on master (#14148827035)
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