Skip to content

Generic dependency injection ​

Bind a generic interface and resolve a class that uses it.

Start with the project overview, then open an operation’s sequence or explanation. Source stays beside its spec when you need to inspect an expression. Choose Indentation or Braces for that code view; the choice carries across files.

Explore the generated project diagrams to follow data between folders, then open module interactions and API sequences.

Project files ​

Try this project ​

Download this project, then extract the archive in an empty working folder. It contains source, configuration, and compiled specs. Install August once, then run these commands. Native libraries are prepared automatically when needed:

sh
cd generic-di
aug check .
aug spec .
aug run .

Browse all examples

Last updated:

The world runs on language