更新 'trie.go'

Signed-off-by: loser <1711788888@qq.com>
This commit is contained in:
loser 2023-11-10 09:18:28 +08:00
parent bff9922066
commit 9fe1154908

View File

@ -1,4 +1,4 @@
package flashtext package extractor
type Node struct { type Node struct {
children map[rune]*Node // 使用 map 存储叶子节点,key:'char' ,value: *Node children map[rune]*Node // 使用 map 存储叶子节点,key:'char' ,value: *Node