Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 217 Bytes
(ns publicator.domain.abstractions.instant
(:require
[clojure.spec.alpha :as s])
(:import
[java.time Instant]))
(defn ^:dynamic *now* []
(Instant/now))
(s/fdef now
:ret inst?)
(defn now []
(*now*))
You can’t perform that action at this time.