From f469df7cecc9addc357cf92e1747cc7bdf81f999 Mon Sep 17 00:00:00 2001 From: "Sascha L. Teichmann" Date: Wed, 3 Aug 2022 09:34:52 +0200 Subject: [PATCH] Fix build error with Go 1.19 --- util/joinpath_go119.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...) }