3
0
mirror of https://github.com/gin-gonic/gin.git synced 2025-04-06 03:57:46 +08:00

Update path.go

Add a comma for more clarity
This commit is contained in:
youzeliang 2023-05-09 23:19:02 +08:00 committed by GitHub
parent eac2daac64
commit ea3669ea6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -115,7 +115,7 @@ func cleanPath(p string) string {
// If the original string was not modified (or only shortened at the end),
// return the respective substring of the original string.
// Otherwise return a new string from the buffer.
// Otherwise, return a new string from the buffer.
if len(buf) == 0 {
return p[:w]
}