From 0214161bfc38fd0cd5fb3676dfa9a8e0f82ee1a3 Mon Sep 17 00:00:00 2001 From: kevin Date: Mon, 17 Aug 2020 18:05:56 +0800 Subject: [PATCH] remove utils.Report --- core/stat/alert.go | 3 +-- core/utils/report.go | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 core/utils/report.go diff --git a/core/stat/alert.go b/core/stat/alert.go index c08d8f06..620dae29 100644 --- a/core/stat/alert.go +++ b/core/stat/alert.go @@ -14,7 +14,6 @@ import ( "github.com/tal-tech/go-zero/core/proc" "github.com/tal-tech/go-zero/core/sysx" "github.com/tal-tech/go-zero/core/timex" - "github.com/tal-tech/go-zero/core/utils" ) const ( @@ -24,7 +23,7 @@ const ( ) var ( - reporter = utils.Report + reporter func(string) lock sync.RWMutex lessExecutor = executors.NewLessExecutor(time.Minute * 5) dropped int32 diff --git a/core/utils/report.go b/core/utils/report.go deleted file mode 100644 index e3a11c39..00000000 --- a/core/utils/report.go +++ /dev/null @@ -1,5 +0,0 @@ -package utils - -func Report(content string) { - // TODO: implement the report method -}