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

jellydator / ttlcache / 14738370205
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v3
DEFAULT BRANCH: master
Ran 29 Apr 2025 06:15PM UTC
Jobs 1
Files 4
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

29 Apr 2025 06:14PM UTC coverage: 99.421% (+0.005%) from 99.416%
14738370205

push

github

web-flow
Add GetOrSetFunc method (#161)

* GetOrSetFunc. For example, the method would be useful in an expression like this: namedLocks.GetOrSetFunc(name, func()*sync.Mutex{ return new(sync.Mutex) })

* save some memory

* applyOptions accpent struct, not pointer

* Fixed setOpts in SetOrGetFunc. Unit-test for GetOrSetFunc

* simplify our old GetOrSet for re-use logic

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

687 of 691 relevant lines covered (99.42%)

24.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 14738370205.1 29 Apr 2025 06:15PM UTC 4
99.42
GitHub Action Run
Source Files on build 14738370205
  • Tree
  • List 4
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 27a3fddd on github
  • Prev Build on v3 (#13201377536)
  • Next Build on v3 (#15237488044)
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