ioc

package
v0.0.0-...-2c4220d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context interface {
	Only(theType types.Type) Feature

	Find(types types.Type) []Feature

	OnlyOf(types types.Type, name string) Feature
}

type Feature

type Feature interface{}

type Graph

type Graph interface {
	Provide(object ...*Object) error

	Populate() error
}

type InjectGroup

type InjectGroup interface {
	Injected

	Components() []*Object
}

type Injected

type Injected interface {
	Name() string

	Done() error
}

type Object

type Object struct {
	Value Feature
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL