Libraries and frameworks for managing object dependencies and service wiring in Go applications.
This project is a type-safe dependency injection framework for Go that manages application lifecycles and injects dependencies into structures using reflection and metadata tags. It functions as a service lifecycle manager and an interface binding library to decouple service consumption from concrete implementations. The framework utilizes a hierarchical service container, organizing services into a tree of nested scopes where child containers inherit dependencies from their ancestors. It includes a dependency graph visualizer for inspecting relationships and invocation chains, as well as a s
This framework provides a comprehensive dependency injection container for Go that supports type-safe resolution, lifecycle management, and constructor-based injection, making it a complete solution for implementing inversion of control.
Fx is a dependency injection framework and application lifecycle manager for Go. It functions as a component model container that automates the instantiation and connection of components by analyzing constructor parameters and return values to resolve complex dependency graphs. The framework distinguishes itself through module-based component bundling, which encapsulates related constructors into reusable units to manage visibility and logic. It provides advanced resolution capabilities, including mapping concrete types to interfaces for decoupling, resolving dependency ambiguities via unique
Fx is a comprehensive dependency injection framework for Go that automates component instantiation through reflection and provides robust lifecycle management for complex application startup and shutdown sequences.