about summary refs log tree commit diff
path: root/main/additions/additions.go
diff options
context:
space:
mode:
Diffstat (limited to 'main/additions/additions.go')
-rw-r--r--main/additions/additions.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/additions/additions.go b/main/additions/additions.go
new file mode 100644
index 0000000..a5170de
--- /dev/null
+++ b/main/additions/additions.go
@@ -0,0 +1,11 @@
+package main
+
+import "fmt"
+
+func main() {
+	fmt.Println(addNumbers(2, 3))
+}
+
+func addNumbers(x int, y int) int {
+	return y + x
+}