From 777a203f962a22e3a3a7c3da17fae037458c5d8c Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Sun, 7 Jul 2019 12:33:54 +0100 Subject: [PATCH] gofmt --- client/grpc/grpc.go | 2 +- client/options.go | 2 +- client/rpc_client.go | 2 +- client/rpc_codec.go | 2 +- config/cmd/options.go | 2 +- network/node.go | 2 +- options.go | 2 +- server/grpc/options.go | 2 +- server/options.go | 2 +- server/rpc_server.go | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/client/grpc/grpc.go b/client/grpc/grpc.go index d4d54938..939019f5 100644 --- a/client/grpc/grpc.go +++ b/client/grpc/grpc.go @@ -16,8 +16,8 @@ import ( "github.com/micro/go-micro/codec" "github.com/micro/go-micro/errors" "github.com/micro/go-micro/metadata" - "github.com/micro/go-micro/registry" "github.com/micro/go-micro/network/transport" + "github.com/micro/go-micro/registry" "google.golang.org/grpc" "google.golang.org/grpc/credentials" diff --git a/client/options.go b/client/options.go index 00d70ead..3032d23b 100644 --- a/client/options.go +++ b/client/options.go @@ -7,8 +7,8 @@ import ( "github.com/micro/go-micro/broker" "github.com/micro/go-micro/client/selector" "github.com/micro/go-micro/codec" - "github.com/micro/go-micro/registry" "github.com/micro/go-micro/network/transport" + "github.com/micro/go-micro/registry" ) type Options struct { diff --git a/client/rpc_client.go b/client/rpc_client.go index 4061fa40..52b2a092 100644 --- a/client/rpc_client.go +++ b/client/rpc_client.go @@ -17,8 +17,8 @@ import ( "github.com/micro/go-micro/codec" "github.com/micro/go-micro/errors" "github.com/micro/go-micro/metadata" - "github.com/micro/go-micro/registry" "github.com/micro/go-micro/network/transport" + "github.com/micro/go-micro/registry" ) type rpcClient struct { diff --git a/client/rpc_codec.go b/client/rpc_codec.go index ca390e39..91aae303 100644 --- a/client/rpc_codec.go +++ b/client/rpc_codec.go @@ -12,8 +12,8 @@ import ( "github.com/micro/go-micro/codec/proto" "github.com/micro/go-micro/codec/protorpc" "github.com/micro/go-micro/errors" - "github.com/micro/go-micro/registry" "github.com/micro/go-micro/network/transport" + "github.com/micro/go-micro/registry" ) const ( diff --git a/config/cmd/options.go b/config/cmd/options.go index 3711235c..be703f56 100644 --- a/config/cmd/options.go +++ b/config/cmd/options.go @@ -6,9 +6,9 @@ import ( "github.com/micro/go-micro/broker" "github.com/micro/go-micro/client" "github.com/micro/go-micro/client/selector" + "github.com/micro/go-micro/network/transport" "github.com/micro/go-micro/registry" "github.com/micro/go-micro/server" - "github.com/micro/go-micro/network/transport" ) type Options struct { diff --git a/network/node.go b/network/node.go index 440d9c49..cb0f19ad 100644 --- a/network/node.go +++ b/network/node.go @@ -12,8 +12,8 @@ import ( "time" "github.com/google/uuid" - "github.com/micro/go-micro/registry" "github.com/micro/go-micro/network/transport" + "github.com/micro/go-micro/registry" "github.com/micro/go-micro/util/addr" "github.com/micro/go-micro/util/log" diff --git a/options.go b/options.go index 95c65e73..355e1cfc 100644 --- a/options.go +++ b/options.go @@ -9,9 +9,9 @@ import ( "github.com/micro/go-micro/client" "github.com/micro/go-micro/client/selector" "github.com/micro/go-micro/config/cmd" + "github.com/micro/go-micro/network/transport" "github.com/micro/go-micro/registry" "github.com/micro/go-micro/server" - "github.com/micro/go-micro/network/transport" ) type Options struct { diff --git a/server/grpc/options.go b/server/grpc/options.go index 6a5e07f6..e1c2efc9 100644 --- a/server/grpc/options.go +++ b/server/grpc/options.go @@ -6,10 +6,10 @@ import ( "github.com/micro/go-micro/broker" "github.com/micro/go-micro/codec" + "github.com/micro/go-micro/network/transport" "github.com/micro/go-micro/registry" "github.com/micro/go-micro/server" "github.com/micro/go-micro/server/debug" - "github.com/micro/go-micro/network/transport" "google.golang.org/grpc" "google.golang.org/grpc/encoding" ) diff --git a/server/options.go b/server/options.go index c00c2e9f..200a7a18 100644 --- a/server/options.go +++ b/server/options.go @@ -7,9 +7,9 @@ import ( "github.com/micro/go-micro/broker" "github.com/micro/go-micro/codec" + "github.com/micro/go-micro/network/transport" "github.com/micro/go-micro/registry" "github.com/micro/go-micro/server/debug" - "github.com/micro/go-micro/network/transport" ) type Options struct { diff --git a/server/rpc_server.go b/server/rpc_server.go index 524691fd..d182ae2e 100644 --- a/server/rpc_server.go +++ b/server/rpc_server.go @@ -13,8 +13,8 @@ import ( "github.com/micro/go-micro/broker" "github.com/micro/go-micro/codec" "github.com/micro/go-micro/metadata" - "github.com/micro/go-micro/registry" "github.com/micro/go-micro/network/transport" + "github.com/micro/go-micro/registry" "github.com/micro/go-micro/util/addr" log "github.com/micro/go-micro/util/log" )