8000 Release 2.11.0 - GetItems method added · jellydator/ttlcache · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

2.11.0 - GetItems method added

Compare
Choose a tag to compare
@ReneKroon ReneKroon released this 18 Dec 19:39
· 33 commits to master since this release

2.11.0 (December 2021)
#64: @DoubleDi added a method GetItems to retrieve all items in the cache. This method also triggers all callbacks associated with a normal Get

API changes:

// GetItems returns a copy of all items in the cache. Returns nil when the cache has been closed. 
func (cache *Cache) GetItems() map[string]interface{} {..}
0