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

go-pkgz / expirable-cache / 7978050247
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: paskal/ci
DEFAULT BRANCH: master
Ran 20 Feb 2024 06:12PM UTC
Jobs 1
Files 2
Run time 1s
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

20 Feb 2024 06:11PM UTC coverage: 95.111% (-4.9%) from 100.0%
7978050247

Pull #10

github

paskal
add v3 compatible with simplelru

v2 had most of the required functions, so this change adds missing ones
to satisfy the simplelru interface.

To do that, RemoveOldest started returning parameters, unlike being void
as before.

Another behaviour change is that Get and Peek now return
the cached value in case it has already expired to be consistent with
the `simplelru` implementation.

Also, GetExpiration is added.
Pull Request #10: Add v3 compatible with simplelru

214 of 225 new or added lines in 2 files covered. (95.11%)

214 of 225 relevant lines covered (95.11%)

113.1 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
11
94.74
v3/cache.go
Jobs
ID Job ID Ran Files Coverage
1 7978050247.1 20 Feb 2024 06:12PM UTC 2
95.11
GitHub Action Run
Source Files on build 7978050247
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #10
  • PR Base - master (#7977456689)
  • Delete
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

© 2026 Coveralls, Inc