container

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container interface {
	// Provide adding new object constructor
	Provide(interface{}) error

	// Provides adding new object constructors
	Provides(...interface{}) error

	// Invoke method call with dependency injection
	Invoke(interface{}) error
}

Container general of container interface for any implementation

func GetContainer

func GetContainer() Container

func NewDigWrapper

func NewDigWrapper() (Container, error)

Jump to

Keyboard shortcuts

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