improvements #68

Merged
vtolstov merged 5 commits from improvements into master 2021-12-28 09:23:46 +03:00
2 changed files with 6 additions and 0 deletions
Showing only changes of commit 734f751055 - Show all commits

View File

@ -79,6 +79,8 @@ func NewTrie() *Node {
return &Node{}
}
type Trie = Node
type Node struct {
// regexp matcher for regexp nodes
rex *regexp.Regexp

View File

@ -5,6 +5,10 @@ import (
"testing"
)
func TestTrieBackwards(t *testing.T) {
_ = &Trie{}
}
func TestTrieWildcardPathPrefix(t *testing.T) {
var err error
type handler struct {