diff --git a/util/joinpath_go119.go b/util/joinpath_go119.go index 085299e..96262b7 100644 --- a/util/joinpath_go119.go +++ b/util/joinpath_go119.go @@ -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...) }