Documentation ¶
Overview ¶
Package slashnormalizer provides a middleware that normalizes the URL path by removing duplicate slashes and redirects that normalized URL path.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
Middleware normalizes the URL path by removing duplicate slashes and redirected to the normalized URL path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.