Deja Vu Random notes on coding and stuff..

elixir

Today I Learned : Elixir - How to get a map from a struct

Use the Map.from_struct function. struct = %User{first_name: "Jose", last_name: "Valim"} map = Map.form_struct(struct)...