mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-07 21:48:31 -05:00
12 lines
214 B
Go
12 lines
214 B
Go
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()
|
|
}
|