patrickmn / go-cache

An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
https://patrickmn.com/projects/go-cache/
MIT License
8.16k stars 874 forks source link

added AND ('&&') operation. #119

Closed haseth closed 4 years ago

haseth commented 4 years ago

Added "&&" operation rather than separate if statements, gives a clear picture of the operation.

haseth commented 4 years ago

@patrickmn Is it good to be merged?