module

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provide

func Provide(dic *dig.Container, providers Module) error

Provide set providers functions to DI container

Types

type Module

type Module []*Provider

func (Module) Append

func (m Module) Append(mod Module) Module

Append module to target module and return new module

type Provider

type Provider struct {
	Constructor interface{}
	Options     []dig.ProvideOption
}

Jump to

Keyboard shortcuts

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