code: func (actor Actor) BindServiceBySpace(appName string, serviceInstanceName string, spaceGUID string, bindingName string, parameters map[string]interface{}) (ServiceBinding, Warnings, error) {
  	var allWarnings Warnings
  	app, warnings, err := actor.GetApplicationByNameAndSpace(appName, spaceGUID)
  	allWarnings = append(allWarnings, warnings...)
  	if err != nil {
  		return ServiceBinding{}, allWarnings, err
  	}
  
  	serviceInstance, warnings, err := actor.GetServiceInstanceByNameAndSpace(serviceInstanceName, spaceGUID)
  	allWarnings = append(allWarnings, warnings...)
  	if err != nil {
  		return ServiceBinding{}, allWarnings, err
  	}
  
  	serviceBinding, ccv2Warnings, err := actor.CloudControllerClient.CreateServiceBinding(app.GUID, serviceInstance.GUID, bindingName, true, parameters)
  	allWarnings = append(allWarnings, ccv2Warnings...)
  
  	return ServiceBinding(serviceBinding), allWarnings, err
  }
docs: // BindServiceBySpace binds the service instance to an application for a given space.