Give your Go services clear lifetimes with samber/do.
Guides Go projects toward modular dependency injection with samber/do and managed service lifecycles.
When to use it
Use when adopting samber/do, working in a codebase that imports it, or replacing manual constructor injection with a container.
It changes how the agent wires Go services by keeping the container at the composition root, depending on interfaces, and handling provider errors.
What you provide
Requires Go 1.18 or later for the generics-based dependency injection toolkit.
No additional actions listed.