di alternatives and similar packages
Based on the "Dependency Injection" category
Do you think we are missing an alternative of di or a related project?
Dependency injection for Go programming language.
[Tutorial](./docs/tutorial.md) | [Examples](./_examples) | [Advanced features](./docs/advanced.md)
Dependency injection is one form of the broader technique of inversion of control. It is used to increase modularity of the program and make it extensible.
This library helps you to organize responsibilities in your codebase and make it easy to combine low-level implementation into high-level behavior without boilerplate.
- Intuitive auto wiring
- Interface implementations
- Constructor injection
- Optional injection
- Field injection
- Named types
go get github.com/goava/di
If you have any questions, feel free to create an issue.