From a11dd00174950f6b91ca826b665aebaf5355e987 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sun, 14 Feb 2021 14:25:04 +0300 Subject: [PATCH] profiler: fix import Signed-off-by: Vasiliy Tolstov --- profiler/http/http.go | 2 +- profiler/pprof/pprof.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/profiler/http/http.go b/profiler/http/http.go index 3fc98352..2e542b09 100644 --- a/profiler/http/http.go +++ b/profiler/http/http.go @@ -7,7 +7,7 @@ import ( "net/http/pprof" "sync" - "github.com/unistack-org/micro/v3/debug/profile" + profile "github.com/unistack-org/micro/v3/profiler" ) type httpProfile struct { diff --git a/profiler/pprof/pprof.go b/profiler/pprof/pprof.go index 5fec1a2b..54fdb06c 100644 --- a/profiler/pprof/pprof.go +++ b/profiler/pprof/pprof.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "github.com/unistack-org/micro/v3/debug/profile" + profile "github.com/unistack-org/micro/v3/profiler" ) type profiler struct {