forkmeGo home

confick

confick is a tiny library to load and cache configuration settings from an EDN file.

Installation

The library can be installed from Clojars using Leiningen:

Clojars Project

Example

(require '[confick.core :as cnf])

(cnf/bind [^:required addr [:tcp :address]
           ^{:default 80} port [:tcp :port]]
  (format "%s:%d" addr port))