Documentation ¶ Index ¶ Variables func Inject[T target.Portal_](deps Deps[T]) target.Find[T] func New[T target.Portal_](cache *target.Cache[T], resolvePath target.Path, resolveFile target.File, ...) target.Find[T] type Deps Constants ¶ This section is empty. Variables ¶ View Source var ErrNoPortals = errors.New("cannot find portals") Functions ¶ func Inject ¶ func Inject[T target.Portal_](deps Deps[T]) target.Find[T] func New ¶ func New[T target.Portal_]( cache *target.Cache[T], resolvePath target.Path, resolveFile target.File, resolveTarget target.Resolve[T], priority target.Priority, embed ...target.Source, ) target.Find[T] Types ¶ type Deps ¶ type Deps[T target.Portal_] interface { TargetResolve() target.Resolve[T] TargetCache() *target.Cache[T] TargetFile() target.File Path() target.Path Embed() []target.Source Priority() target.Priority } Source Files ¶ View all Source files find.go Click to show internal directories. Click to hide internal directories.