code: func NewConsortiumsConfig(consortiumsGroup *cb.ConfigGroup, mspConfig *MSPConfigHandler) (*ConsortiumsConfig, error) {
  	cc := &ConsortiumsConfig{
  		consortiums: make(map[string]Consortium),
  	}
  
  	for consortiumName, consortiumGroup := range consortiumsGroup.Groups {
  		var err error
  		if cc.consortiums[consortiumName], err = NewConsortiumConfig(consortiumGroup, mspConfig); err != nil {
  			return nil, err
  		}
  	}
  	return cc, nil
  }
docs: // NewConsortiumsConfig creates a new instance of the consoritums config