v0.2.0
Changes:
Dingo does not parse command line flags anymore, instead one has to set EnableCircularTracing
.
Dingo now has errors in NewInjector, Child, GetInstance, GetAnnotatedInstance and RequestInjection.
Also the error handling has been revisited, to be more precise and clear in error situations.
panic() only happens in case of Bind(nil) and if providers don't accept errors.
Providers can now be of type somethingProvider() Something
or somethingProvider() (Something, error)
, second case doesn't panic, but returns an error if resolving/providing fails.