From 417211ffc12fa62af91fc462ed9241201d7feebb Mon Sep 17 00:00:00 2001 From: Tobias Salzmann <796084+Eun@users.noreply.github.com> Date: Fri, 27 Nov 2020 14:30:01 +0100 Subject: [PATCH] --- static.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static.go b/static.go index a1388bd9..5151ee3d 100644 --- a/static.go +++ b/static.go @@ -575,6 +575,9 @@ func Context(ctx context.Context) IStep { // JoinURL("https://example.com", "index.html") // will return "https://example.com/index.html" // JoinURL("https://", "example.com", "index.html") // will return "https://example.com/index.html" // JoinURL("example.com", "index.html") // will return "example.com/index.html" +// MustDo( +// Get(JoinURL("https://example.com", "index.html")), +// ) func JoinURL(parts ...string) string { if len(parts) == 0 { return ""