code: func (c *Connector) CreateScope(ctx context.Context, md *dosa.ScopeMetadata) error {
  	bytes, err := json.Marshal(*md)
  	if err != nil {
  		return errors.Wrap(err, "could not encode metadata into JSON")
  	}
  	mds := string(bytes)
  
  	request := &dosarpc.CreateScopeRequest{
  		Name:      &(md.Name),
  		Requester: &(md.Creator),
  		Metadata:  &mds,
  	}
  
  	if err = c.client.CreateScope(ctx, request, getHeaders(c.headers)...); err != nil {
  		if !dosarpc.Dosa_CreateScope_Helper.IsException(err) {
  			return errors.Wrap(err, "failed to CreateScope due to network issue")
  		}
  
  		return errors.Wrap(err, "failed to CreateScope")
  	}
  
  	return nil
  }
docs: // CreateScope creates the scope specified