func (f *Factory) MakerForTypeKey(typeKey string) (*FactoryMaker, error) {
	var (
		exists   bool
		register FactoryRegister
	)
	if register, exists = f.inventory[typeKey]; !exists {
		return nil, errors.NotFoundf("proxy register for key %s", typeKey)
	}
	return &FactoryMaker{Register: register}, nil
}
// MakerForTypeKey provides a new factory maker for the given type key if one
// has been registered.
MakerForTypeKey provides a new factory maker for the given type key if one
has been registered.
// MakerForTypeKey provides a new factory maker for the given type key if one // has been registered .
func (f *Factory) MakerForTypeKey(typeKey string) (*FactoryMaker, error) {
	var (
		exists   bool
		register FactoryRegister
	)
	if register, exists = f.inventory[typeKey]; !exists {
		return nil, errors.NotFoundf("proxy register for key %s", typeKey)
	}
	return &FactoryMaker{Register: register}, nil
}
func ( f * Factory ) MakerForTypeKey ( typeKey string ) ( * FactoryMaker , error ) { var ( exists bool register FactoryRegister ) if register , exists = f . inventory [ typeKey ] ; ! exists { return nil , errors . NotFoundf ( " " , typeKey ) } return & FactoryMaker { Register : register } , nil }
MakerForTypeKey provides a new factory maker for the given type key if one
has been registered.
MakerForTypeKey provides a new factory maker for the given type key if one has been registered .