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

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

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: v8
Ran 13 Jun 2024 07:12AM UTC
Jobs 1
Files 31
Run time 4min
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

13 Jun 2024 07:10AM UTC coverage: 74.285% (-0.006%) from 74.291%
9495305269

Pull #1279

github

kke
Use sync.OnceValue only on go1.21+

sync.OnceValue was introduced in go1.21. Currently validator's go.mod
states minimum go version to be go1.18.

This commit moves the lazy regex initialization into its own file
lazy.go and provides backwards compatibility using buildtags and the
file lazy_compat.go.

Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
Pull Request #1279: Use sync.OnceValue for lazy regexp initialization

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

12667 of 17052 relevant lines covered (74.28%)

82.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9495305269.1 13 Jun 2024 07:12AM UTC 31
74.28
GitHub Action Run
Source Files on build 9495305269
  • Tree
  • List 31
  • Changed 2
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1279
  • PR Base - master (#9476788989)
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