Skip to content

Instantly share code, notes, and snippets.

@bdruth
Created August 14, 2013 16:52
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 bdruth/dc3f0ab4ae70ba9b1505 to your computer and use it in GitHub Desktop.
Save bdruth/dc3f0ab4ae70ba9b1505 to your computer and use it in GitHub Desktop.
(ns environments
"Environment definitions")
(def defaults
{
:display-item-ids true
:portal-url-template "portals/%s"
})
(def perf
{
:url-template "https://example.com/%s/ClientServices/"
:display-item-ids false
})
(def staging
{
:url-template "https://test-example.com/%s/staging/ClientServices/"
})
(def envs
;; How do I merge defaults (above) into each value in the map below?
{
"perf" perf
"staging" staging
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment