From 4a8e67427da97567172b4c8e2975d3937dcac48a Mon Sep 17 00:00:00 2001 From: gphper <570165887@qq.com> Date: Tue, 5 Sep 2023 20:36:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=20fmt.Println=20arg=20list?= =?UTF-8?q?=20ends=20with=20redundant=20newline?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/cli/run/root.go | 2 +- internal/cron/log_test.go | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 internal/cron/log_test.go diff --git a/cmd/cli/run/root.go b/cmd/cli/run/root.go index 365cba4..fc4057f 100644 --- a/cmd/cli/run/root.go +++ b/cmd/cli/run/root.go @@ -90,7 +90,7 @@ func showLogo() { fmt.Println(" | | __ _ _ __ / \\ __| |_ __ ___ _ _ __ ") fmt.Println(" | | |_ | | '_ \\ / /\\ \\ / _` | '_ ` _ \\| | '_ \\ ") fmt.Println(" | |__| | | | | |/ _____\\ (_| | | | | | | | | | |") - fmt.Println(" \\_____|_|_| |_/_/ \\_\\__,_|_| |_| |_|_|_| |_| \n") + fmt.Println(" \\_____|_|_| |_/_/ \\_\\__,_|_| |_| |_|_|_| |_| ") } func showPanel() { diff --git a/internal/cron/log_test.go b/internal/cron/log_test.go deleted file mode 100644 index 7cdd05f..0000000 --- a/internal/cron/log_test.go +++ /dev/null @@ -1,12 +0,0 @@ -/* - * @Description: - * @Author: gphper - * @Date: 2021-12-01 20:48:52 - */ -package cron - -import "testing" - -func TestWriteLog(t *testing.T) { - WriteLog() -}