AlexStocks commented on a change in pull request #262:
URL: https://github.com/apache/dubbo-go-pixiu/pull/262#discussion_r724706513



##########
File path: pkg/common/router/trie/trie.go
##########
@@ -43,14 +43,14 @@ func NewTrieWithDefault(path string, defVal interface{}) 
Trie {
 // Node
 type Node struct {
        lock             sync.RWMutex
-       matchStr         string //冗余信息 通配节点冗余变量名,普通节点冗余节点名
+       matchStr         string
        childInitOnce    sync.Once
-       children         map[string]*Node //子树
-       PathVariablesSet map[string]*Node //变量名集合 找不到set先用map todo
-       PathVariableNode *Node            //通配变量节点后的子树
-       MatchAllNode     *Node            //通配变量节点后的子树
-       endOfPath        bool             //是否是路径末尾
-       bizInfo          interface{}      //随便塞啥
+       children         map[string]*Node

Review comment:
       还是尽量加些注释,那把你通过 translate.baidu.com 机器翻译下也好




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to