原书出处
Cloud Native Go (Matthew A. Titmus)
07 Scalability
Add adds a value to the cache and returns true if an eviction occurred. func (c *Cache) Add(key, value interface{}) (evicted bool) // Check if a key is in the cache (without updating the recent-ness). func (c *Cache) Contains(key interface{}) bool // Get looks up a key's value and returns (value, true) if it exists.
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Cloud Native Go (Matthew A. Titmus)/_epub-src/OEBPS/ch07.xhtml
EPUB SHA-256:1154caa7b61465daf957a7d8f1350ef24ab5db9c850cab5987aae5bc74986022