MCPcopy Create free account
hub / github.com/SignTools/SignTools / JoinUrlsFatal

Function JoinUrlsFatal

src/util/util.go:21–27  ·  view source on GitHub ↗
(fullBaseUrl string, relativeUrl ...string)

Source from the content-addressed store, hash-verified

19}
20
21func JoinUrlsFatal(fullBaseUrl string, relativeUrl ...string) string {
22 result, err := JoinUrls(fullBaseUrl, relativeUrl...)
23 if err != nil {
24 log.Fatal().Err(err).Send()
25 }
26 return result
27}
28
29func JoinUrls(fullBaseUrl string, relativeUrl ...string) (string, error) {
30 parsedBase, err := url.Parse(fullBaseUrl)

Callers

nothing calls this directly

Calls 1

JoinUrlsFunction · 0.85

Tested by

no test coverage detected