feat: local cache

This commit is contained in:
withchao
2024-01-12 17:51:01 +08:00
parent 9908e2c658
commit a81bc3fc23
22 changed files with 245 additions and 316 deletions
+20
View File
@@ -0,0 +1,20 @@
package link
import (
"testing"
)
func TestName(t *testing.T) {
v := New(1)
//v.Link("a:1", "b:1", "c:1", "d:1")
v.Link("a:1", "b:1", "c:1")
v.Link("z:1", "b:1")
//v.DelKey("a:1")
v.Del("z:1")
t.Log(v)
}