From 96d68eeacedd77df35b6099399ae0712640e6e1d Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Mon, 3 Jun 2019 19:07:09 +0100 Subject: [PATCH] strip use of cmd --- grpc.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/grpc.go b/grpc.go index fabc5fe..2dd65ec 100644 --- a/grpc.go +++ b/grpc.go @@ -11,7 +11,6 @@ import ( "github.com/micro/go-micro/broker" "github.com/micro/go-micro/client" - "github.com/micro/go-micro/cmd" "github.com/micro/go-micro/codec" "github.com/micro/go-micro/errors" "github.com/micro/go-micro/metadata" @@ -34,8 +33,6 @@ type grpcClient struct { func init() { encoding.RegisterCodec(jsonCodec{}) encoding.RegisterCodec(bytesCodec{}) - - cmd.DefaultClients["grpc"] = NewClient } // secure returns the dial option for whether its a secure or insecure connection