[go: nahoru, domu]

Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
  • Loading branch information
ACGNnsj committed Feb 1, 2023
1 parent 1b4e4c2 commit b905ef8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/clojure/main/hello.clj
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
(ns main.hello
(:gen-class)
(:import (org.example.api Calculation)))
(:require [wrapper.twitter :refer [add]]))


(defn -main
"I don't do a whole lot ... yet."
[& args]
(println "Hello, World!")
(println (Calculation/add 1 2))
(println (add 4 5))
)
6 changes: 6 additions & 0 deletions src/main/clojure/wrapper/twitter.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(ns wrapper.twitter
(:import (org.example.api Calculation)))
(defn add
"docstring"
[x y] (Calculation/add x y)
)

0 comments on commit b905ef8

Please sign in to comment.