code: func JoinURLFragments(a, b string) string {
  	aslash := strings.HasSuffix(a, "/")
  	bslash := strings.HasPrefix(b, "/")
  
  	if len(b) == 0 {
  		return a
  	}
  
  	switch {
  	case aslash && bslash:
  		return a + b[1:]
  	case !aslash && !bslash:
  		return a + "/" + b
  	}
  	return a + b
  }
docs: // JoinURLFragments joins two URL fragments into only one URL string.