code: func ParseURL(s string) (*url.URL, error) {
  	var err error
  	var u *url.URL
  
  	if s != "" {
  		// Default the scheme to https
  		if !schemeMatch.MatchString(s) {
  			s = "https://" + s
  		}
  
  		u, err = url.Parse(s)
  		if err != nil {
  			return nil, err
  		}
  
  		// Default the path to /sdk
  		if u.Path == "" {
  			u.Path = "/sdk"
  		}
  
  		if u.User == nil {
  			u.User = url.UserPassword("", "")
  		}
  	}
  
  	return u, nil
  }
docs: // ParseURL is wrapper around url.Parse, where Scheme defaults to "https" and Path defaults to "/sdk"