Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SearchResult ¶
type TrieNode ¶
type TrieNode struct { Key rune Children map[rune]*TrieNode SearchResults []SearchResult Parent *TrieNode // contains filtered or unexported fields }
func CreateTrieRoot ¶
func CreateTrieRoot() *TrieNode
func (*TrieNode) AddToTrie ¶
func (t *TrieNode) AddToTrie(prefix string, searchResult SearchResult)
func (*TrieNode) RemoveKeyAndReleaseID ¶
func (*TrieNode) SearchReleases ¶
func (t *TrieNode) SearchReleases(prefix string, maxResults int) []SearchResult
Click to show internal directories.
Click to hide internal directories.