Releases: sarulabs/dingo
Releases · sarulabs/dingo
Add NewFuncParams helper
v4.1.1
Unshared objects and custom package name
Fix how named types are registered
- Fix issue #17
- Update di to
v2.4.2
Fix unused imports
Use golang.org/x/tools/imports to remove unused imports from the generated files.
Fix parameter bugs
- interface parameters were not handled correctly
- empty pointers as parameters were not handled correctly either
Remove dingo binary and use a Provider
- There is no
dingo
binary anymore. - Simplify the code by using a
Provider
. di
is not included in the generated code anymore.
Upgrade from v3
- You need to register the definitions in a Provider. The dingo binary is also not available anymore as it would depends on the Provider now. So you have to write it yourself. See the Setup section of the documentation.
dingo.App
,dingo.Request
anddingo.SubRequest
have been removed. Usedi.App
,di.Request
anddi.SubRequest
instead.
Add Fill method to the container and update to di v2.3.0
Merge pull request #7 from sarulabs/fill Add untyped Fill method to the container and update to di v2.3.0
Avoid problems with go modules
No new functionality was added. This release is just here to avoid problems with go modules.
Allow usage outside gopath
- dingo can now be use inside and outside
$GOPATH
- the di version has been upgraded to v2.1.2