Documentation
¶
Index ¶
Constants ¶
View Source
const ( EmptyDelimiter = "" SpaceDelimiter = " " SlashDelimiter = "/" BackSlashDelimiter = "\\" )
Variables ¶
This section is empty.
Functions ¶
func SplitByDelimiter ¶
func SplitByEmpty ¶
Types ¶
type Trie ¶
type Trie interface {
Capacity() uint32
String(prefix, delimiter string) string
Insert(fragments []string)
HasPrefix(fragments []string) bool
Match(fragments []string) bool
Delete(fragments []string)
Prompt(prefix []string, delimiter string) (phrases []string)
Marshal() []byte
Unmarshal(raw []byte) error
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.