package
Version:
v0.0.0-...-03ea0d3
Opens a new window with list of versions in this module.
Published: Mar 22, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
Node defines a node in a trie.
AllValues returns all the values of the node and its child nodes.
Trie defines a search tree based on runes.
Autocomplete returns all the matching values of the prefix.
Contains returns true if the string s is in the trie.
Get gets a value for the string s.
Match returns true if the string matches a rune path in the trie regardless
whether the trie contains a corresponding value.
Put adds values to the trie.
Value defines the value stored in the trie node.
NewValue creates a new value object.
Name returns the name of the value object.
Values defines the slice of values.
Sort sorts values in ascending order by name.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.