Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasPathPrefix ¶
HasPathPrefix reports whether path equals prefix or is nested under it.
func NormalizePrefix ¶
NormalizePrefix returns a leading-slash prefix without a trailing slash.
func StripPathPrefix ¶
StripPathPrefix removes a normalized prefix from path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.