strip use of cmd

This commit is contained in:
Asim Aslam 2019-06-03 19:07:09 +01:00 committed by Vasiliy Tolstov
parent 8a3538eb77
commit eaae419939

View File

@ -14,7 +14,6 @@ import (
"time"
"github.com/micro/go-micro/broker"
"github.com/micro/go-micro/cmd"
"github.com/micro/go-micro/codec"
"github.com/micro/go-micro/errors"
meta "github.com/micro/go-micro/metadata"
@ -59,8 +58,6 @@ type grpcServer struct {
func init() {
encoding.RegisterCodec(jsonCodec{})
encoding.RegisterCodec(bytesCodec{})
cmd.DefaultServers["grpc"] = NewServer
}
func newGRPCServer(opts ...server.Option) server.Server {