Versions in this module Expand all Collapse all v1 v1.0.1 Jun 18, 2016 Changes in this version + type Node struct + Children []*Node + IsLeaf bool + Parent *Node + func (m *Node) Depth() int + func (m *Node) Key() string + type Prefix struct + Key string + Values []interface{} + func (p *Prefix) Depth() int + type PrefixCallback func(prefix Prefix) (skipBranch bool, halt bool) + type PrefixMap Node + func New() *PrefixMap + func (m *PrefixMap) Contains(key string) bool + func (m *PrefixMap) ContainsPrefix(key string) bool + func (m *PrefixMap) EachPrefix(callback PrefixCallback) + func (m *PrefixMap) Get(key string) []interface{} + func (m *PrefixMap) GetByPrefix(key string) []interface{} + func (m *PrefixMap) Insert(key string, values ...interface{}) + func (m *PrefixMap) Replace(key string, values ...interface{})