diff --git a/cache/auto_refresh.go b/cache/auto_refresh.go index 96adddd..0037eba 100644 --- a/cache/auto_refresh.go +++ b/cache/auto_refresh.go @@ -81,9 +81,6 @@ const ( // The item returned has been updated and should be updated in the cache Update - - // The item should be removed from the cache - Delete ) // SyncFunc func type. Your implementation of this function for your cache instance is responsible for returning diff --git a/utils/auto_refresh_cache.go b/utils/auto_refresh_cache.go index fbd81c8..0491ba8 100644 --- a/utils/auto_refresh_cache.go +++ b/utils/auto_refresh_cache.go @@ -42,6 +42,9 @@ const ( // The item returned has been updated and should be updated in the cache Update + + // The item should be removed from the cache + Delete ) // CacheSyncItem is a func type. Your implementation of this function for your cache instance is responsible for returning