mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Fix build error with Go 1.19
This commit is contained in:
parent
892a0b941b
commit
f469df7cec
1 changed files with 1 additions and 1 deletions
|
|
@ -15,6 +15,6 @@ import "net/url"
|
||||||
// JoinURLPath returns a new URL with the provided path elements joined to
|
// JoinURLPath returns a new URL with the provided path elements joined to
|
||||||
// any existing path and the resulting path cleaned of any ./ or ../ elements.
|
// any existing path and the resulting path cleaned of any ./ or ../ elements.
|
||||||
// Any sequences of multiple / characters will be reduced to a single /.
|
// Any sequences of multiple / characters will be reduced to a single /.
|
||||||
func JoinURLPath(u *url.URL, elem ...string) *URL {
|
func JoinURLPath(u *url.URL, elem ...string) *url.URL {
|
||||||
return u.JoinPath(elem...)
|
return u.JoinPath(elem...)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue