func (c *Catalog) Add(models ...Model) {
	for _, model := range models {
		// get name
		name := Init(model).Meta().PluralName

		// check existence
		if c.models[name] != nil {
			panic(fmt.Sprintf(`coal: model with name "%s" already exists in catalog`, name))
		}

		// add model
		c.models[name] = model
	}
}
func (c *Catalog) Add(models ...Model) {
	for _, model := range models {
		
		name := Init(model).Meta().PluralName

		
		if c.models[name] != nil {
			panic(fmt.Sprintf(`coal: model with name "%s" already exists in catalog`, name))
		}

		
		c.models[name] = model
	}
}
func ( c * Catalog ) Add ( models ... Model ) { for _ , model := range models { // get name name := Init ( model ) . Meta ( ) . PluralName // check existence if c . models [ name ] != nil { panic ( fmt . Sprintf ( `coal: model with name "%s" already exists in catalog` , name ) ) } // add model c . models [ name ] = model } }
// Add will add the specified models to the catalog.
Add will add the specified models to the catalog .