فهرست منبع

remove utils.Report

kevin 4 سال پیش
والد
کامیت
0214161bfc
2فایلهای تغییر یافته به همراه1 افزوده شده و 7 حذف شده
  1. 1 2
      core/stat/alert.go
  2. 0 5
      core/utils/report.go

+ 1 - 2
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

+ 0 - 5
core/utils/report.go

@@ -1,5 +0,0 @@
-package utils
-
-func Report(content string) {
-	// TODO: implement the report method
-}