Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (ns clj-play.core
- (:gen-class)
- (:require [clj-play.twitter :refer [timeline-news]]))
- (defn- init []
- (println "Setup"))
- (defn- destroy []
- (println "Shutdown")
- )
- (defn -main
- "I don't do a whole lot."
- [& args]
- (init)
- (try
- (println (timeline-news "al3xandru")) ; this calls twitter-api
- (System/exit 1)
- (finally destroy)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement