1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 18:15:42 +01:00

Fix build error with Go 1.19

This commit is contained in:
Sascha L. Teichmann 2022-08-03 09:34:52 +02:00
parent 892a0b941b
commit f469df7cec

View file

@ -15,6 +15,6 @@ import "net/url"
// 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 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...)
}