Skip to content

Instantly share code, notes, and snippets.

Created March 8, 2015 18:42
Show Gist options
  • Save anonymous/15eb423c256704d556db to your computer and use it in GitHub Desktop.
Save anonymous/15eb423c256704d556db to your computer and use it in GitHub Desktop.
import jester, asyncdispatch, htmlgen
proc foo(s:string):string = return s&"!"
proc web()=
let d:string="asdf"
routes: get "/": resp foo(d) # self.render_movie(self.latest_movie_id)
runForever()
web()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment