dingo
dingo copied to clipboard
🐺 Easy, fast and type-safe dependency injection for Go.
Hey Eliot you prolong creating nice stuff. Personally I am pleased to see this repository. Thanks for that. So what about problem. I believe that if we cannot find type,...
I haven't tried it, but I assume it would create an infinite recursive loop until go panics. We should detect circular references when building the container with the `dingo` command.
Right now services can be replaced by assigning to the instance variable (and also accessed) this is problematic for mixing scopes service may already be initialized, so we need to...
`env` is a root level key that lets you set up expressions that can be used with `${}`.
If the `returns` returns nil (such as on an error), it is initialised every time because it assumes a nil service is uninitialized.
Hi, Let's say I have 2 interfaces foo1/bar.Interface1 and foo2/bar.Interface2 to be dependencies. Those interfaces are from different packages sharing the same package name "bar". Is there a way I...