ryoakg
7/29/2016 - 8:59 AM

refer-private.clj

;; via https://github.com/dakrone/clj-http/blob/master/test/clj_http/test/cookies_test.clj
(defn refer-private [ns]
  (doseq [[symbol var] (ns-interns ns)]
    (when (:private (meta var))
      (intern *ns* symbol var))))