Versions in this module Expand all Collapse all v0 v0.2.1 Jul 6, 2015 Changes in this version + const TRIE_FULL + const TRIE_NO + const TRIE_PREFIX + func NopHook(interface{}) string + type Binary struct + func (t *Binary) Add(score int, value interface{}, replace bool) + func (t *Binary) Search(score int) interface{} + type Trie struct + ChildChars []byte + Childs []*Trie + Str string + Value interface{} + func (t *Trie) AddPath(path string, value interface{}) + func (t *Trie) AddPathFor(path string, fn func(*Trie)) + func (t *Trie) HasElement() bool + func (t *Trie) Match(path string) (*Trie, int, int) + func (t *Trie) MatchFrom(nodestart int, path string) (tr *Trie, index int, typ int) + func (t *Trie) MatchValue(path string) interface{} + func (t *Trie) PrefixMatchValue(path string) interface{} + func (t *Trie) Print(w io.Writer, withCurr bool, parentPath, sep string, ...) + func (t *Trie) Visit(visitor func(string, interface{}))