code: func NewConsortiumConfig(consortiumGroup *cb.ConfigGroup, mspConfig *MSPConfigHandler) (*ConsortiumConfig, error) {
  	cc := &ConsortiumConfig{
  		protos: &ConsortiumProtos{},
  		orgs:   make(map[string]Org),
  	}
  
  	if err := DeserializeProtoValuesFromGroup(consortiumGroup, cc.protos); err != nil {
  		return nil, errors.Wrap(err, "failed to deserialize values")
  	}
  
  	for orgName, orgGroup := range consortiumGroup.Groups {
  		var err error
  		if cc.orgs[orgName], err = NewOrganizationConfig(orgName, orgGroup, mspConfig); err != nil {
  			return nil, err
  		}
  	}
  
  	return cc, nil
  }
docs: // NewConsortiumConfig creates a new instance of the consoritums config