aboutsummaryrefslogtreecommitdiffstats
path: root/examples/eviction_policy/main.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/eviction_policy/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/eviction_policy/main.go b/examples/eviction_policy/main.go
index a9c8577..5b5599a 100644
--- a/examples/eviction_policy/main.go
+++ b/examples/eviction_policy/main.go
@@ -3,12 +3,12 @@ package main
import (
"fmt"
- "code.qburst.com/marcpervaz//cache"
+ "github.com/marcthe12/cache"
)
func main() {
// Create an in-memory cache with LRU eviction policy
- db, err := cache.OpenMem[string, string]("example", cache.WithPolicy(cache.PolicyLRU))
+ db, err := cache.OpenMem[string, string](cache.WithPolicy(cache.PolicyLRU))
if err != nil {
fmt.Println("Error:", err)
return