From 711ec53b52d4e44c3e4bf4d22af46a0b750eb33a Mon Sep 17 00:00:00 2001 From: Mikhail Rybalka Date: Tue, 7 Mar 2023 21:42:12 +0300 Subject: [PATCH] initial --- addition.go | 5 +++++ go.mod | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 addition.go create mode 100644 go.mod diff --git a/addition.go b/addition.go new file mode 100644 index 0000000..6b2fe19 --- /dev/null +++ b/addition.go @@ -0,0 +1,5 @@ +package calc + +func Add(a, b int) int { + return a + b +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..bf78ec2 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/RuSPanzer/calc + +go 1.20