code: func (actor Actor) GetSharedDomain(domainGUID string) (Domain, Warnings, error) {
  	if domain, found := actor.loadDomain(domainGUID); found {
  		log.WithFields(log.Fields{
  			"domain": domain.Name,
  			"GUID":   domain.GUID,
  		}).Debug("using domain from cache")
  		return domain, nil, nil
  	}
  
  	domain, warnings, err := actor.CloudControllerClient.GetSharedDomain(domainGUID)
  	if isResourceNotFoundError(err) {
  		return Domain{}, Warnings(warnings), actionerror.DomainNotFoundError{GUID: domainGUID}
  	}
  
  	actor.saveDomain(domain)
  	return Domain(domain), Warnings(warnings), err
  }
docs: // GetSharedDomain returns the shared domain associated with the provided
  // Domain GUID.