i want to remove the information in the list
Todo.Server.date_check(abc, ~D[2020-05-20])
[
%{date: ~D[2020-05-20], **id: 1**, time: ~T[16:52:00], title: "Shopping"},
%{date: ~D[2020-05-20], id: 2, time: ~T[16:53:00], title: "Playing"},
%{date: ~D[2020-05-20], id: 3, time: ~T[16:53:00], title: "swimming"},
]
which i try to delete it by the id
if you talk about the init
@impl GenServer
def init(name) do
IO.puts("Starting to-do server for #{name}")
{:ok, {name, Todo.Database.get(name) || Todo.List.new()}}
end
abc = Todo.Cache.server_process(“abc”)
Starting to-do server for abc
pid<0.151.0>






















