The request asks what to use for dependency injection in Go. None of the candidate sources is a Go dependency injection library itself; the closest match is the ETS Labs Dependency Injector page, which describes a dependency injection framework for Python 4. Go-specific options that appear in the sources are go-zero, a Go microservices framework 8, and GoFrame, a Go enterprise development framework 3, though neither source states that it provides dependency injection.
A question back: Do you want a Go-specific dependency injection library (for example one based on reflection or code generation), or are you open to a full Go application framework that includes DI as part of its stru
- 1
- 2
go-zerogo-zero.devwebsite read, tools not yet checked
A cloud-native Go microservices framework with code generation and built-in resilience, which may structure service wiring but its page does not describe dependency injection 8.
- 3
Sources
- 3GoFrameå®ç½ - 类似PHP-Laravel,Java-SpringBootçGoè¯è¨å¼åæ¡æ¶goframe.org · read 2026-10-29
- 4ETS Labs Software Engineering — ETS Labs - Expert Technical Solutions Labsets-labs.org · read 2026-10-29
- 8go-zero Documentation | go-zerogo-zero.dev · read 2026-10-29
For agents: the 10 actions behind this answer
· aio-libs Aiobotocore website read, tools not yet checked
· aio-libs Aiohttp website read, tools not yet checked
· Go Blueprint Hello website read, tools not yet checked
· GoFrameå®ç½ website read, tools not yet checked
GoFrameæ¯ä¸æ¬¾é«æ§è½ã模ååçGoè¯è¨ä¼ä¸çº§å¼åæ¡æ¶ï¼æä¾ä¸°å¯çç»ä»¶æ¯æï¼å¯å¿«éæå»ºç¨³å®çWebåºç¨åå¾®æå¡ãå ·å¤åºè²ç跨平å°å ¼å®¹æ§å详尽çä½¿ç¨ææ¡£ï¼æ¯æå¢é髿å¼åä¸äº¤ä»ã
injection · dependency-injector verified and signed
· Secure Go website read, tools not yet checked
A project devoted to secure programming in the Go language
dagger/dagger-for-github · Dagger for GitHub verified and signed
Run dagger commands in Github Actions
· Solod website read, tools not yet checked
A subset of Go that translates to C with no runtime.
· go-zero Documentation website read, tools not yet checked
A cloud-native Go microservices framework with built-in resilience and code generation
· revive website read, tools not yet checked
Fast, configurable, extensible, and beautiful linter for Go.
Labels are the instruments' verdict and are never changed by ranking. Agents and robots get this same answer as JSON at /api/v1/find?q=…&answer=1 and through the MCP server.