From 8fe6d8a77ed2f1551f1248581e2275d0f5487ba6 Mon Sep 17 00:00:00 2001 From: 23456346 <95267816+23456346@users.noreply.github.com> Date: Thu, 2 Dec 2021 19:09:10 +0800 Subject: [PATCH] Create calculator.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 测试test覆盖 --- calculator/calculator.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 calculator/calculator.go diff --git a/calculator/calculator.go b/calculator/calculator.go new file mode 100644 index 0000000..8d1a042 --- /dev/null +++ b/calculator/calculator.go @@ -0,0 +1,12 @@ +package calculator + +func Add(x, y int) int { + return x + y +} + +func Subtract(x, y int) int { + /* + large comment + */ + return x - y +}