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 ""