1
0
Fork 0

📝 Fixed input name in path.Shift docs

This commit is contained in:
Maxim Lebedev 2024-02-09 12:30:58 +06:00
parent 38f368c3e6
commit 4034401056
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 3 additions and 3 deletions

View File

@ -6,9 +6,9 @@ import (
"strings" "strings"
) )
// Shift splits off the first component of p, which will be cleaned of relative // Shift splits off the first component of raw, which will be cleaned of
// components before processing. head will never contain a slash and tail will // relative components before processing. head will never contain a slash and
// always be a rooted path without trailing slash. // 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/ // See: https://blog.merovius.de/posts/2017-06-18-how-not-to-use-an-http-router/
// //