I need help accessing my environment variables. I have :my-variable "value"
in dev-config.edn
and I'm trying to access it in another place. I required [my-app.config :refer [env]]
and trying the following:
(defn my-function []
(def variable (-> env :my-variable))
(println (str "my environment variable: " variable)))
I tried this and several other things... What's the right to do this?