"do" V2.0 – Dependency Injection for Go
Posted3 months agoActive3 months ago
github.comTechstory
supportivepositive
Debate
0/100
GoDependency InjectionSoftware Development
Key topics
Go
Dependency Injection
Software Development
The release of 'do' v2.0, a dependency injection library for Go, was shared on HN, with the community showing interest in the update.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
41m
Peak period
1
0-1h
Avg / period
1
Key moments
- 01Story posted
Sep 25, 2025 at 10:15 AM EDT
3 months ago
Step 01 - 02First comment
Sep 25, 2025 at 10:56 AM EDT
41m after posting
Step 02 - 03Peak activity
1 comments in 0-1h
Hottest window of the conversation
Step 03 - 04Latest activity
Sep 25, 2025 at 10:56 AM EDT
3 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45372857Type: storyLast synced: 11/17/2025, 1:13:44 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
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/
Read the full changelog here: https://github.com/samber/do/releases/tag/v2.0.0
Migration from v1: https://do.samber.dev/docs/upgrading/from-v1-x-to-v2