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

ggaaooppeenngg / cachemap / 9
51%

Build:
DEFAULT BRANCH: master
Ran 13 Nov 2016 01:36PM UTC
Jobs 1
Files 3
Run time 0s
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

pending completion
9

Pull #5

travis-ci

web-flow
Add ResetExpiration and GetTTL functions

Add ResetExpiration and GetTTL functions
```go
func (c *cache_tpl) ResetExpiration(k string, d time.Duration) error
```
Usage Likes Redis' EXPIRE command

```go
func (c *cache_tpl) GetTTL(k string) (int64, bool)
```
Usage likes Redis' TTL command  but returns nano seconds.
It returns -2 if the key does not exist; returns -1 if the key exists
but has no associated expire.

Both functions past tests.
Pull Request #5: Add ResetExpiration and GetTTL functions

251 of 475 relevant lines covered (52.84%)

17.0 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
31
100.0
cache.go
Jobs
ID Job ID Ran Files Coverage
1 9.1 13 Nov 2016 01:36PM UTC 0
52.84
Travis Job 9.1
Source Files on build 9
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9
  • Pull Request #5
  • PR Base - master (#8)
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