code: func ParseGCPPubSubURL(url string) (string, string, error) {
  	parts := strings.Split(url, "gcppubsub://")
  	if parts[0] != "" {
  		return "", "", errors.New("No gcppubsub scheme found")
  	}
  
  	if len(parts) != 2 {
  		return "", "", fmt.Errorf("gcppubsub scheme should be in format gcppubsub://YOUR_GCP_PROJECT_ID/YOUR_PUBSUB_SUBSCRIPTION_NAME, instead got %s", url)
  	}
  
  	remainder := parts[1]
  
  	parts = strings.Split(remainder, "/")
  	if len(parts) == 2 {
  		if len(parts[0]) == 0 {
  			return "", "", fmt.Errorf("gcppubsub scheme should be in format gcppubsub://YOUR_GCP_PROJECT_ID/YOUR_PUBSUB_SUBSCRIPTION_NAME, instead got %s", url)
  		}
  		if len(parts[1]) == 0 {
  			return "", "", fmt.Errorf("gcppubsub scheme should be in format gcppubsub://YOUR_GCP_PROJECT_ID/YOUR_PUBSUB_SUBSCRIPTION_NAME, instead got %s", url)
  		}
  		return parts[0], parts[1], nil
  	}
  
  	return "", "", fmt.Errorf("gcppubsub scheme should be in format gcppubsub://YOUR_GCP_PROJECT_ID/YOUR_PUBSUB_SUBSCRIPTION_NAME, instead got %s", url)
  }
docs: // ParseGCPPubSubURL Parse GCP Pub/Sub URL
  // url: gcppubsub://YOUR_GCP_PROJECT_ID/YOUR_PUBSUB_SUBSCRIPTION_NAME