Sarulabs Dingo Versions Save

Generated dependency injection containers in go (golang)

v4.2.0

2 years ago

NewFuncParams can be used to generate the Params map for build functions.

v4.1.1

2 years ago

Improve generated comments

  • Definitions now have a description.
  • Information about the definition is included in the comments

v4.1.0

2 years ago
  • the Unshared field was added to the definitions (#19)
  • the name of the generated package can now be customized (#20)

v4.0.3

3 years ago
  • Fix issue #17
  • Update di to v2.4.2

v4.0.2

4 years ago

Use golang.org/x/tools/imports to remove unused imports from the generated files.

v4.0.1

4 years ago
  • interface parameters were not handled correctly
  • empty pointers as parameters were not handled correctly either

v4.0.0

4 years ago
  • 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 and dingo.SubRequest have been removed. Use di.App, di.Request and di.SubRequest instead.

v3.1.0

4 years ago

v3.0.0

4 years ago

No new functionality was added. This release is just here to avoid problems with go modules.

v2.1.0

4 years ago
  • dingo can now be use inside and outside $GOPATH
  • the di version has been upgraded to v2.1.2