What problem does it solve?
This Skill helps you design, wire, and operate Go applications built with uber-go/fx so startup, shutdown, dependency injection, and module composition stay predictable and maintainable.
Core Features & Use Cases
- Lifecycle-driven servers: Use fx.Lifecycle hooks to start network listeners and workers without blocking boot.
- Modern dependency wiring: Apply fx.Provide, fx.Invoke, fx.Annotate, fx.Module, fx.Supply, and fx.Replace to build clean application graphs.
- Testing and observability: Use fxtest, fx.Populate, and fx.WithLogger to validate wiring, swap fakes, and route fx events through structured logging.
- Use case: When a Go API grows into multiple concerns like HTTP, database, metrics, and background jobs, this Skill shows how to organize the app into reusable modules and graceful runtime hooks.
Quick Start
Ask for an uber-go/fx wiring example that matches your service, and I will show the correct lifecycle, module, and testing pattern for your case.