Packages

StructConstructor allows you to declare structs using Ecto.Schema and generate constructor functions that will take care of coercion and handling various input formats (maps, keyword lists with string or atom keys).

Current section

Files

Jump to
struct_constructor .formatter.exs
Raw

.formatter.exs

[
inputs: [
"lib/**/*.{ex,exs}",
"test/**/*.{ex,exs}",
"config/**/*.{ex,exs}",
"mix.exs"
],
line_length: 100,
import_deps: [:ecto]
]