Versions in this module Expand all Collapse all v0 v0.1.0 Mar 3, 2021 Changes in this version + var ErrNoFurnisher = errors.New("no furnisher in the current context") + var ErrTooManyFactories = errors.New("multiple factories located") + var ErrUnsupportedType = errors.New("type cannot be furnished") + func Furnish(ctx context.Context, ref interface{}) error + func FurnishArgs(ctx context.Context, fn reflect.Value) ([]reflect.Value, error) + func FurnishValue(ctx context.Context, ref reflect.Value) error + type Configuration struct + func (c *Configuration) AddFactory(creating reflect.Type, impl Factory) + func (c *Configuration) Install(ctx context.Context) context.Context + type Factory func(ctx context.Context) (reflect.Value, error)