Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByKeys ¶
type ByKeys []string
ByKeys type cast for string array
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node struct
type Trie ¶
type Trie struct {
// contains filtered or unexported fields
}
Trie struct
func (*Trie) Add ¶
Add the key to the Trie, including meta data. Meta data is stored as `interface{}` and must be type cast by the caller.
func (Trie) FuzzySearch ¶
FuzzySearch performs a fuzzy search against the keys in the trie.
func (Trie) PrefixSearch ¶
PrefixSearch performs a prefix search against the keys in the trie.
Click to show internal directories.
Click to hide internal directories.