code: func splitScheme(addr string) (string, string) {
  	parts := strings.SplitN(addr, "://", 2)
  	if len(parts) == 1 {
  		return "", addr
  	}
  	return parts[0], parts[1]
  }
docs: // splitScheme returns two strings: the scheme and the hostPort.