summaryrefslogtreecommitdiff
path: root/adder.go
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2019-10-19 19:30:03 -0600
committermo khan <mo.khan@gmail.com>2019-10-19 19:30:03 -0600
commitf2b19a97da50643d9d873b48632ee08607738b87 (patch)
tree7a57facd656ac7729ea02d877b7d5fa4bbe8495f /adder.go
parentc95fd3f51286bb027c5b67257fae51e83e091ee1 (diff)
add adder
https://github.com/quii/learn-go-with-tests/blob/master/integers.md
Diffstat (limited to 'adder.go')
-rw-r--r--adder.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/adder.go b/adder.go
new file mode 100644
index 0000000..708bef4
--- /dev/null
+++ b/adder.go
@@ -0,0 +1,5 @@
+package main
+
+func Add(x, y int) int {
+ return 4
+}