dig alternatives and similar packages
Based on the "Dependency Injection" category.
Alternatively, view dig alternatives based on common mentions on social networks and blogs.
8.4 4.6 dig VS fxA dependency injection based application framework for Go (built on top of dig).
2.7 0.3 dig VS linkerA reflection based dependency injection and inversion of control library with components lifecycle support.
0.7 6.6 dig VS kinitCustomizable dependency injection container with the global mode, cascade initialization and panic-safe finalization.
0.7 3.3 dig VS nject/npointA type safe, reflective framework based on types for libraries, tests, and endpoints.
Do you think we are missing an alternative of dig or a related project?
A reflection based dependency injection toolkit for Go.
- Powering an application framework, e.g. Fx.
- Resolving the object graph during process startup.
- Using in place of an application framework, e.g. Fx.
- Resolving dependencies after the process has already started.
- Exposing to user-land code as a Service Locator.
We recommend consuming SemVer major version
your dependency manager of choice.
$ glide get 'go.uber.org/dig#^1' $ dep ensure -add "go.uber.org/[email protected]" $ go get 'go.uber.org/[email protected]'
This library is
v1 and follows SemVer strictly.
No breaking changes will be made to exported APIs before