diff options
author | Marc Pervaz Boocha <marcpervaz@qburst.com> | 2025-02-25 09:47:02 +0530 |
---|---|---|
committer | Marc Pervaz Boocha <marcpervaz@qburst.com> | 2025-02-27 13:38:14 +0530 |
commit | a5194b3be4768d42b27ef9e2d0d52479e0436758 (patch) | |
tree | 4e60b1b790e63b8aaf8dba77acbfe4599dedbee0 /examples/eviction_policy | |
parent | Add additional test cases to improve coverage and robustness (diff) | |
download | cache-a5194b3be4768d42b27ef9e2d0d52479e0436758.tar cache-a5194b3be4768d42b27ef9e2d0d52479e0436758.tar.gz cache-a5194b3be4768d42b27ef9e2d0d52479e0436758.tar.bz2 cache-a5194b3be4768d42b27ef9e2d0d52479e0436758.tar.lz cache-a5194b3be4768d42b27ef9e2d0d52479e0436758.tar.xz cache-a5194b3be4768d42b27ef9e2d0d52479e0436758.tar.zst cache-a5194b3be4768d42b27ef9e2d0d52479e0436758.zip |
Removed testify and improved tests
Diffstat (limited to '')
-rw-r--r-- | examples/eviction_policy/main.go | 4 |
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 |