Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clean ¶
Clean cleans the path p so that the following conditions are met:
- It is always non-empty - It always starts with a '/' - It never contains any '.' or '..' segments - It always ends with a '/'
This means it can be safely used in URL checks. The code was adapted from the 'net/http' package.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.