module

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: GPL-3.0 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

Module type

func (Module) Append

func (m Module) Append(mods ...Module) Module

Append module to target module and return new module

type Provider

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

Provider struct

Jump to

Keyboard shortcuts

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