Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Injector ¶
type Injector struct {
// contains filtered or unexported fields
}
Injector store
func NewInjector ¶
func NewInjector(fn *types.Func, origin map[FuncId]*Provider, buildCall *dst.CallExpr, auto bool) *Injector
NewInjector
func (*Injector) AddProvider ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
type WireFile ¶
type WireFile struct {
// contains filtered or unexported fields
}
func (*WireFile) AddInjector ¶
func (*WireFile) Imports ¶
func (file *WireFile) Imports() []*dst.ImportSpec
Click to show internal directories.
Click to hide internal directories.