eko/gocache

How to create a key that never expires

OneSeven opened this issue · 0 comments

Please describe the a concise description and fill out the details below. It will help others efficiently understand your request and get to an answer instead of repeated back and forth. Providing a minimal, complete and verifiable example will further increase your chances that someone can help.

Steps for Reproduction

  1. Set up the following "xxxx" value in the config.yaml configuration file
  2. Launch binary with the following arguments
  3. Step Two
  4. Step Three

Expected behavior:
Create a key that does not expire
Actual behavior:
The TTL type only supports time.Duration and cannot pass in negative values
Platforms:

Include browser, operating system and respective versions

Versions:
3.1.1
Which versions are you running?