container

package
v0.0.0-...-cc62b12 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: Apache-2.0 Imports: 3 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 struct {
	// contains filtered or unexported fields
}

func NewContainer

func NewContainer() *Container

func (*Container) Populate

func (c *Container) Populate() error

Populate populate dependency fields for all beans.

func (*Container) ProvideWithName

func (c *Container) ProvideWithName(name string, bean interface{}) error

ProvideWithName provide the bean with name

func (*Container) Provides

func (c *Container) Provides(beans ...interface{}) error

Jump to

Keyboard shortcuts

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