code: func (di *dependencyInjector) cachedCreateFromType(atype reflect.Type) reflect.Value {
  	_, exists := di.instances[atype]
  
  	if !exists {
  		di.instances[atype] = di.createFromType(atype)
  	}
  
  	return di.instances[atype]
  }
docs: // cachedCreateFromType creates an instance of the given type