muesli / cache2go

Concurrency-safe Go caching library with expiration capabilities and access counters
Other
2.11k stars 518 forks source link

add Set,List,Hash #27

Open znddzxx112 opened 5 years ago

znddzxx112 commented 5 years ago

Hash

List

Set

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-6.1%) to 93.869% when pulling ac19fc808ad876e85c3c02001163d764a7d800e5 on znddzxx112:cacheitemSet into 493cbf51ac218e188e2820aeaf7374036ec8eb49 on muesli:master.

muesli commented 5 years ago

I like your work, but is this necessary as part of cache2go, though? I wonder if that's not out-of-scope for a small caching library like this. Couldn't you just use your set/list/hash and add them as a member to a cache table?