mirror of
https://github.com/golang/go
synced 2024-11-26 12:37:57 -07:00
Minor wording tweak
This commit is contained in:
parent
252b742e0b
commit
4209abbf64
@ -1229,7 +1229,7 @@ func stringContainsCTLByte(s string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// JoinPath returns a string with the provided path elements joined to
|
||||
// JoinPath returns a URL string with the provided path elements joined to
|
||||
// the existing path of base and the resulting path cleaned of any ./ or ../ elements.
|
||||
func JoinPath(base string, elem ...string) (result string, err error) {
|
||||
url, err := Parse(base)
|
||||
|
Loading…
Reference in New Issue
Block a user