 
   (init-provider! (:db-file cfg))
 
-  (geo/geo-lookup provider "8.8.8.8"))
+  (geo/geo-lookup provider "8.8.8.8")
+  )



(defn init-provider! [file]
  (alter-var-root #'provider (constantly (init-provider file))))


(defenrich ip-geo-locate [{:keys [clientIp] :as event}]

  {:db-file "/tmp/GeoLite2-City.mmdb"})


(def ^:dynamic *provider* nil)


(defn init-provider [file]
