6 ms·
`do` builder here After 2y in beta, I’ve just released v2 of “do”, the dependency injection toolkit for Golang. This major version introduces a new scope-base
by samber 1y ago
`do` builder here
After 2y in beta, I’ve just released v2 of “do”, the dependency injection toolkit for Golang.
This major version introduces a new scope-based architecture, transient services, interface binding, improved dependency tracking, and circular dependency detection.
Error handling and service naming are more consistent, and based on your feedback, a troubleshooting UI has been added.
A new LLM-ready documentation is available, featuring numerous demos you can run in 1 click: https://do.samber.dev/ https://do.samber.dev/
Read the full changelog here: https://github.com/samber/do/releases/tag/v2.0.0 https://github.com/samber/do/releases/tag/v2.0.0
Migration from v1: https://do.samber.dev/docs/upgrading/from-v1-x-to-v2 https://do.samber.dev/docs/upgrading/from-v1-x-to-v2