gocache
gocache copied to clipboard
How to create a key that never expires
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
- Set up the following "xxxx" value in the
config.yamlconfiguration file - Launch binary with the following arguments
- Step Two
- 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?