I'm riffing on an idea of having a behavior module also act as a delegator to multiple implmentations based upon their first parameter
If available in Hex, the package can be installed
by adding deputy
to your list of dependencies in mix.exs
:
def deps do
[
{:deputy, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/deputy.