Skip to content

Instantly share code, notes, and snippets.

@alanpeabody
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanpeabody/94a4b44fab992fac5f1e to your computer and use it in GitHub Desktop.
Save alanpeabody/94a4b44fab992fac5f1e to your computer and use it in GitHub Desktop.
embedding elixir structs part 1
# config/config.ex
config :app, App.Repo,
database: "my_app_dev",
username: "postgres",
password: "nope",
hostname: "localhost",
extensions: [{Extensions.Json, library: Poison}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment