Skip to content

Commit 62457ef

Browse files
committed
section1 video3
1 parent fb95e21 commit 62457ef

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/project1/core.clj

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
(ns project1.core)
22

3+
(defn example-handler [request]
4+
{:body "Hello Clojure!"}
5+
)
6+
7+
(defn on-init []
8+
(println "Initializing sample webapp!"))
9+
10+
(defn on-destroy []
11+
(println "Destroying sample webapp!"))
12+
313
(defn foo
414
"I don't do a whole lot."
515
[x]

0 commit comments

Comments
 (0)