depinject/depinject.go
func (di *dependencyInjector) CreateFromType(atype reflect.Type) reflect.Value {
	if di.caching {
		return di.cachedCreateFromType(atype)
	} else {
		return di.createFromType(atype)
	}
}
func (di *dependencyInjector) CreateFromType(atype reflect.Type) reflect.Value {
	if di.caching {
		return di.cachedCreateFromType(atype)
	} else {
		return di.createFromType(atype)
	}
}
func ( di * dependencyInjector ) CreateFromType ( atype reflect . Type ) reflect . Value { if di . caching { return di . cachedCreateFromType ( atype ) } else { return di . createFromType ( atype ) } }
// CreateFromType creates an instance of the given type
CreateFromType creates an instance of the given type