From 834964a3f220b58f7f0cf27662a410b32b224e1c Mon Sep 17 00:00:00 2001 From: icey-yu <1186114839@qq.com> Date: Fri, 6 Sep 2024 14:38:25 +0800 Subject: [PATCH] feat: del interface --- pkg/localcache/lru/lru.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/localcache/lru/lru.go b/pkg/localcache/lru/lru.go index 943151246..41de3c8fd 100644 --- a/pkg/localcache/lru/lru.go +++ b/pkg/localcache/lru/lru.go @@ -21,7 +21,6 @@ type EvictCallback[K comparable, V any] simplelru.EvictCallback[K, V] type LRU[K comparable, V any] interface { Get(key K, fetch func() (V, error)) (V, error) Set(key K, value V) - GetBatch(key []K, fetchBatch func([]K) (map[string]V, error)) (map[string]V, error) SetHas(key K, value V) bool Del(key K) bool Stop()