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 {