Diex

Macros for simple dependency injection and dynamic dispatching in Elixir

Installation

The package can be installed by adding diex to your list of dependencies in mix.exs:

def deps do
[
{:diex, "~> 0.0.1"}
]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/diex.