6 ms·
Can someone explain what exactly the library does? All I got from the description is something about a way of building an argument list, and then how it is poss
by malisper 12y ago
Can someone explain what exactly the library does? All I got from the description is something about a way of building an argument list, and then how it is possible to fulfill some dependencies with factories or make methods or something.
- matt42 12y agoIn the description the arguments of the function are its dependencies, and factories are called via their make method (which can also have arguments/dependencies).
- matt42 12y agoYou can have a look at the Go implementation: https://github.com/facebookgo/inject/blob/master/inject.go https://github.com/facebookgo/inject/blob/master/inject.go