From 25766195d9ed0922a2647ecaeba543c37af94abc Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 27 Nov 2023 14:33:20 +0300 Subject: [PATCH] Add math functions --- math/math.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 math/math.go diff --git a/math/math.go b/math/math.go new file mode 100644 index 0000000..f1384b2 --- /dev/null +++ b/math/math.go @@ -0,0 +1,9 @@ +package math + +func Sum(a, b int) int { + return a + b +} + +func Mul(a, b int) int { + return a * b +}