Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Eun committed Nov 27, 2020
1 parent 7cfe700 commit 417211f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions static.go
Expand Up @@ -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 ""
Expand Down

0 comments on commit 417211f

Please sign in to comment.