You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package trie |
|
|
|
type Trier interface { |
|
Put(key string, value interface{}) bool |
|
Find(in string, acc string) (key string, value interface{}) |
|
Get(key string) interface{} |
|
} |
|
|
|
func New() Trier { |
|
return NewRuneTrie() |
|
}
|
|
|