feat: trie implementation

This commit is contained in:
yusing
2025-04-24 05:56:03 +08:00
parent 4a65de99a8
commit ec8cca1245
15 changed files with 699 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package trie
import (
"testing"
)
func TestStoreNil(t *testing.T) {
var v AnyValue
v.Store(nil)
if v.Load() != nil {
t.Fatal("expected nil")
}
if v.IsNil() {
t.Fatal("expected true")
}
}