strip use of cmd

This commit is contained in:
Asim Aslam 2019-06-03 19:07:09 +01:00 committed by Vasiliy Tolstov
parent 37e2bf5695
commit 96d68eeace

View File

@ -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