Utilities
Utilities
(->config-map m)
turns map m
into a kafka config map
turns map `m` into a kafka config map
(import-fns var-syms)
import functions from var-syms
.
Referred from potemkin library.
See https://github.com/clj-commons/potemkin/blob/master/src/potemkin/namespaces.clj
import functions from `var-syms`. Referred from potemkin library. See https://github.com/clj-commons/potemkin/blob/master/src/potemkin/namespaces.clj
(optional-require require-clause if-body else-body)
optionally try requre require-clause
, if success, run if-body
,
else else-body
optionally try requre `require-clause`, if success, run `if-body`, else `else-body`
(scala-vo->map fn-name clazz method-names)
define a function fn-name
, it will turns scala value class
clazz
to a map, with method-names
as its keys.
define a function `fn-name`, it will turns scala value class `clazz` to a map, with `method-names` as its keys.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close