From da80662b0fbe6b941b96fd90dc001fff9fbfeb81 Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Wed, 7 Sep 2022 11:18:52 +0800 Subject: [PATCH] chore: refactor (#2365) --- core/service/serviceconf.go | 3 +-- zrpc/internal/rpcserver.go | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/core/service/serviceconf.go b/core/service/serviceconf.go index 17542814..c3019de7 100644 --- a/core/service/serviceconf.go +++ b/core/service/serviceconf.go @@ -3,10 +3,9 @@ package service import ( "log" - "github.com/zeromicro/go-zero/core/proc" - "github.com/zeromicro/go-zero/core/load" "github.com/zeromicro/go-zero/core/logx" + "github.com/zeromicro/go-zero/core/proc" "github.com/zeromicro/go-zero/core/prometheus" "github.com/zeromicro/go-zero/core/stat" "github.com/zeromicro/go-zero/core/trace" diff --git a/zrpc/internal/rpcserver.go b/zrpc/internal/rpcserver.go index 8e76c475..36408776 100644 --- a/zrpc/internal/rpcserver.go +++ b/zrpc/internal/rpcserver.go @@ -6,7 +6,6 @@ import ( "github.com/zeromicro/go-zero/core/proc" "github.com/zeromicro/go-zero/core/stat" "github.com/zeromicro/go-zero/zrpc/internal/serverinterceptors" - "google.golang.org/grpc" "google.golang.org/grpc/health/grpc_health_v1" )