container

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package container wraps uber/dig with per-context modules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	*dig.Container
}

func New

func New(opts ...Option) (*Container, error)

type Module

type Module func(c *Container) error

type Option

type Option func(c *Container) error

Option configures a Container during New.

func WithModule

func WithModule(m Module) Option

func WithOverride

func WithOverride(decorator any) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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