container

package
v0.0.0-...-82d1dcb Latest Latest
Warning

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

Go to latest
Published: May 9, 2025 License: MIT Imports: 13 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
}

Container 依赖注入容器

func NewContainer

func NewContainer() (*Container, error)

NewContainer 创建一个新的依赖注入容器

func (*Container) Invoke

func (c *Container) Invoke(function interface{}) error

Invoke 执行依赖注入

Jump to

Keyboard shortcuts

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