We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71a3b2a commit 565ccd0Copy full SHA for 565ccd0
src/net/url/url.go
@@ -1229,7 +1229,7 @@ func stringContainsCTLByte(s string) bool {
1229
return false
1230
}
1231
1232
-// JoinPath returns a string with the provided path elements joined to
+// JoinPath returns a URL string with the provided path elements joined to
1233
// the existing path of base and the resulting path cleaned of any ./ or ../ elements.
1234
func JoinPath(base string, elem ...string) (result string, err error) {
1235
url, err := Parse(base)
0 commit comments