Skip to content

Instantly share code, notes, and snippets.

@dirtyvagabond
Created February 8, 2012 19:45
Show Gist options
  • Save dirtyvagabond/1772763 to your computer and use it in GitHub Desktop.
Save dirtyvagabond/1772763 to your computer and use it in GitHub Desktop.
conf_ex.clj
When app starts up:
...
(conf/add-file! some-conf-file))
...
Some other ns in app, needs some conf:
...
(defn redis-host []
((conf/conf) :redis-host))
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment