A reflection based dependency injection toolkit for Go.
Making incompatible changes from the original code at https://github.com/uber-go/dig.
- 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 locking to SemVer range ^1
using Glide:
glide get 'github.com/anuvu/dig#^1'
This library is v1
and follows SemVer strictly.
No breaking changes will be made to exported APIs before v2.0.0
.