From db83dcf9d8d4890e156bf2ed76b51b4d1bed96b8 Mon Sep 17 00:00:00 2001 From: HeyJavaBean Date: Thu, 26 Sep 2024 17:42:42 +0800 Subject: [PATCH] fix: add import --- grpc/kitex/client/main.go | 4 ++++ grpc/kitex/main.go | 2 ++ thrift/kitex/client/main.go | 3 +++ thrift/kitex/main.go | 2 ++ 4 files changed, 11 insertions(+) diff --git a/grpc/kitex/client/main.go b/grpc/kitex/client/main.go index 04cfd35..829e822 100644 --- a/grpc/kitex/client/main.go +++ b/grpc/kitex/client/main.go @@ -17,6 +17,10 @@ package main import ( + "fmt" + "os" + "runtime/pprof" + "github.com/cloudwego/kitex-benchmark/runner" ) diff --git a/grpc/kitex/main.go b/grpc/kitex/main.go index f033ddc..24b852a 100644 --- a/grpc/kitex/main.go +++ b/grpc/kitex/main.go @@ -21,6 +21,8 @@ import ( "fmt" "log" "net" + "os" + "runtime/pprof" "github.com/cloudwego/kitex/server" diff --git a/thrift/kitex/client/main.go b/thrift/kitex/client/main.go index 7cc4a2c..d88a9eb 100644 --- a/thrift/kitex/client/main.go +++ b/thrift/kitex/client/main.go @@ -17,6 +17,9 @@ package main import ( + "fmt" + "os" + "runtime/pprof" "time" "github.com/cloudwego/kitex/client" diff --git a/thrift/kitex/main.go b/thrift/kitex/main.go index b85b308..dce96c9 100644 --- a/thrift/kitex/main.go +++ b/thrift/kitex/main.go @@ -21,6 +21,8 @@ import ( "fmt" "log" "net" + "os" + "runtime/pprof" "github.com/cloudwego/kitex/server"