code: func (c ClientConfig) NewClient(entities ...dosa.DomainObject) (dosa.Client, error) {
  	reg, err := dosa.NewRegistrar(c.Scope, c.NamePrefix, entities...)
  	if err != nil {
  		return nil, err
  	}
  
  	conn, err := NewConnector(c.Yarpc)
  	if err != nil {
  		return nil, err
  	}
  
  	return dosa.NewClient(reg, conn), nil
  }
docs: // NewClient creates a DOSA client based on a ClientConfig