Goldorin v0.39.0 Goldorin.Ecto.Schema View Source

Generate Ecto Schema

Usage:

fields = [

f1: :string,
f2: :integer,
f3: :utc_datetime

] Goldorin.Ecto.Schema.gen(Acme.Block, "block", fields, [])

Link to this section Summary

Link to this section Functions

Link to this function

gen(app, mod_name, name, fields, meta, opts) View Source