📝 Fixed input name in path.Shift docs
This commit is contained in:
parent
38f368c3e6
commit
4034401056
|
@ -6,9 +6,9 @@ import (
|
|||
"strings"
|
||||
)
|
||||
|
||||
// Shift splits off the first component of p, 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.
|
||||
// Shift 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/
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue