Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
(defmacro import-headers [class-name]
(import ~(symbol (format "com.myfit.%s.thrift.%s" class-name class-name)))
(import ~(symbol (format "com.myfit.%s.thrift.ServerImpl" class-name)))))
(defn run [class-name addr port]
(import-headers class-name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.