func (r *serviceBinding) Delete(guid string, opts ...bool) error {
	async := true
	if len(opts) > 0 {
		async = opts[0]
	}
	rawURL := fmt.Sprintf("/v2/service_bindings/%s?async=%t", guid, async)
	_, err := r.client.Delete(rawURL)
	return err
}
opts is list of boolean parametes
opts[0] - async - Will run the delete request in a background job. Recommended: 'true'. Default to 'true'.
package mccpv2
import (
	"fmt"
	"strings"
	"github.com/IBM-Cloud/bluemix-go/client"
	"github.com/IBM-Cloud/bluemix-go/rest"
)
type ServiceBindingRequest struct {
	ServiceInstanceGUID string `json:"service_instance_guid"`
	AppGUID             string `json:"app_guid"`
	Parameters          string `json:"parameters,omitempty"`
}
type ServiceBindingMetadata struct {
	GUID string `json:"guid"`
	URL  string `json:"url"`
}
type ServiceBindingEntity struct {
	ServiceInstanceGUID string                 `json:"service_instance_guid"`
	AppGUID             string                 `json:"app_guid"`
	Credentials         map[string]interface{} `json:"credentials"`
}
type ServiceBindingResource struct {
	Resource
	Entity ServiceBindingEntity
}
type ServiceBindingFields struct {
	Metadata ServiceBindingMetadata
	Entity   ServiceBindingEntity
}
type ServiceBinding struct {
	GUID                string
	ServiceInstanceGUID string
	AppGUID             string
	Credentials         map[string]interface{}
}
func (resource ServiceBindingResource) ToFields() ServiceBinding {
	entity := resource.Entity
	return ServiceBinding{
		GUID:                resource.Metadata.GUID,
		ServiceInstanceGUID: entity.ServiceInstanceGUID,
		AppGUID:             entity.AppGUID,
		Credentials:         entity.Credentials,
	}
}
type ServiceBindings interface {
	Create(req ServiceBindingRequest) (*ServiceBindingFields, error)
	Get(guid string) (*ServiceBindingFields, error)
	Delete(guid string, opts ...bool) error
	List(filters ...string) ([]ServiceBinding, error)
}
type serviceBinding struct {
	client *client.Client
}
func newServiceBindingAPI(c *client.Client) ServiceBindings {
	return &serviceBinding{
		client: c,
	}
}
func (r *serviceBinding) Get(sbGUID string) (*ServiceBindingFields, error) {
	rawURL := fmt.Sprintf("/v2/service_bindings/%s", sbGUID)
	sbFields := ServiceBindingFields{}
	_, err := r.client.Get(rawURL, &sbFields, nil)
	if err != nil {
		return nil, err
	}
	return &sbFields, nil
}
func (r *serviceBinding) Create(req ServiceBindingRequest) (*ServiceBindingFields, error) {
	rawURL := "/v2/service_bindings"
	sbFields := ServiceBindingFields{}
	_, err := r.client.Post(rawURL, req, &sbFields)
	if err != nil {
		return nil, err
	}
	return &sbFields, nil
}