Documentation
¶
Overview ¶
The util package contains utilities for working with URL paths.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShiftPath ¶
ShiftPath splits off the first component of raw, which will be cleaned of relative components before processing. head will never contain a slash and tail will always be a rooted path without trailing slash.
See: https://blog.merovius.de/posts/2017-06-18-how-not-to-use-an-http-router/
func ValidateLength ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.