Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrDupItem means adding duplicated item. ErrDupItem = errors.New("duplicated item") // ErrDupSlash means item is started with more than one slash. ErrDupSlash = errors.New("duplicated slash") // ErrEmptyItem means adding empty item. ErrEmptyItem = errors.New("empty item") // ErrInvalidState means search tree is in an invalid state. ErrInvalidState = errors.New("search tree is in an invalid state") // ErrNotFromRoot means path is not starting with slash. ErrNotFromRoot = errors.New("path should start with /") // NotFound is used to hold the not found result. NotFound Result )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.