asm

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pick

func Pick[T any](r *Registry) (T, error)

Types

type HasPopulated

type HasPopulated interface {
	Populated() error
}

type Registry

type Registry struct {
	Log *slog.Logger
	// contains filtered or unexported fields
}

func (*Registry) InferFrom

func (r *Registry) InferFrom(s any, override bool) error

func (*Registry) Init

func (r *Registry) Init(values ...any) error

func (*Registry) Override

func (r *Registry) Override(name string, component interface{})

func (*Registry) Populate

func (r *Registry) Populate(s interface{}) error

func (*Registry) Provide

func (r *Registry) Provide(f interface{})

func (*Registry) ProvideName

func (r *Registry) ProvideName(name string, f interface{})

func (*Registry) Register

func (r *Registry) Register(name string, component interface{})

func (*Registry) Resolve

func (r *Registry) Resolve(s any) error

func (*Registry) ResolveNamed

func (r *Registry) ResolveNamed(s any, name string) error

func (*Registry) RunHooks

func (r *Registry) RunHooks(s any) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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