di

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependencies

type Dependencies struct {
	CLI cli.CLIInterface
}

type DependencyInjector

type DependencyInjector struct {
	Config      *config.Config
	ConfigPaths config.ConfigPaths
}

func NewDependencyInjector

func NewDependencyInjector(c *config.Config, configPaths config.ConfigPaths) *DependencyInjector

func (*DependencyInjector) Inject

func (di *DependencyInjector) Inject() (*Dependencies, error)

type DependencyInjectorInterface

type DependencyInjectorInterface interface {
	Inject() (*Dependencies, error)
}

Jump to

Keyboard shortcuts

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