Closed fabiant7t closed 1 year ago
The function passed to ttlcache.OnInsertion and ttlcache.OnEviction requires context.Context as the first argument after commit https://github.com/jellydator/ttlcache/commit/5b5ae2bb953b3dfc15154dd31946dd42957d9a69
ttlcache.OnInsertion
ttlcache.OnEviction
context.Context
I updated the examples accordingly.
The function passed to
ttlcache.OnInsertion
andttlcache.OnEviction
requirescontext.Context
as the first argument after commit https://github.com/jellydator/ttlcache/commit/5b5ae2bb953b3dfc15154dd31946dd42957d9a69I updated the examples accordingly.