TODO: Add description
{:ok, cache} = TodoList.Cache.start
{:ok, server} = TodoList.Cache.server_process(cache, "bobs_list")
TodoList.TodoServer.add_entry(server, %{title: "hello", description: "magic"})
# results
TodoList.TodoServer.todos(server)
%TodoList.Todos{
auto_id: 2,
entries: %{
1 => %TodoList.Todo{
description: "magic",
done: false,
id: 1,
title: "hello"
}
}
}
If available in Hex, the package can be installed
by adding todo_list
to your list of dependencies in mix.exs
:
def deps do
[
{:todo_list, "~> 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/todo_list.