di

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	As   = dig.As
	Name = dig.Name
)

Functions

func Invoke

func Invoke(function interface{}) error

func MustInvoke

func MustInvoke(function interface{})

func MustProvide

func MustProvide(constructor interface{}, opt ...ProvideOption)

func Provide

func Provide(constructor interface{}, opt ...ProvideOption) error

Types

type Container added in v0.14.3

type Container = dig.Container

func New added in v0.14.3

func New() *Container

type In

type In = dig.In

type Out

type Out = dig.Out

type ProvideOption added in v0.14.12

type ProvideOption = dig.ProvideOption

Jump to

Keyboard shortcuts

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