From 3befeb9b910826a3ecb9af7f3b048b30953200c9 Mon Sep 17 00:00:00 2001 From: iamqizhao Date: Tue, 27 Jan 2015 18:12:14 -0800 Subject: [PATCH] run gofmt --- rpc/call.go | 2 +- rpc/rpc_util.go | 2 +- rpc/rpc_util_test.go | 2 +- rpc/server.go | 2 +- rpc/stream.go | 2 +- rpc/test/end2end_test.go | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/rpc/call.go b/rpc/call.go index d0534724..82e0d7eb 100644 --- a/rpc/call.go +++ b/rpc/call.go @@ -36,10 +36,10 @@ package rpc import ( "io" + "github.com/golang/protobuf/proto" "github.com/google/grpc-go/rpc/codes" "github.com/google/grpc-go/rpc/metadata" "github.com/google/grpc-go/rpc/transport" - "github.com/golang/protobuf/proto" "golang.org/x/net/context" ) diff --git a/rpc/rpc_util.go b/rpc/rpc_util.go index b38ef701..5b564280 100644 --- a/rpc/rpc_util.go +++ b/rpc/rpc_util.go @@ -42,10 +42,10 @@ import ( "os" "time" + "github.com/golang/protobuf/proto" "github.com/google/grpc-go/rpc/codes" "github.com/google/grpc-go/rpc/metadata" "github.com/google/grpc-go/rpc/transport" - "github.com/golang/protobuf/proto" "golang.org/x/net/context" ) diff --git a/rpc/rpc_util_test.go b/rpc/rpc_util_test.go index 4c08c602..5219cd80 100644 --- a/rpc/rpc_util_test.go +++ b/rpc/rpc_util_test.go @@ -41,9 +41,9 @@ import ( "testing" "time" + "github.com/golang/protobuf/proto" "github.com/google/grpc-go/rpc/codes" "github.com/google/grpc-go/rpc/transport" - "github.com/golang/protobuf/proto" "golang.org/x/net/context" ) diff --git a/rpc/server.go b/rpc/server.go index 2dcd4ff3..0199d80e 100644 --- a/rpc/server.go +++ b/rpc/server.go @@ -42,11 +42,11 @@ import ( "strings" "sync" + "github.com/golang/protobuf/proto" "github.com/google/grpc-go/rpc/codes" "github.com/google/grpc-go/rpc/credentials" "github.com/google/grpc-go/rpc/metadata" "github.com/google/grpc-go/rpc/transport" - "github.com/golang/protobuf/proto" "golang.org/x/net/context" ) diff --git a/rpc/stream.go b/rpc/stream.go index 13a96216..58a67045 100644 --- a/rpc/stream.go +++ b/rpc/stream.go @@ -36,10 +36,10 @@ package rpc import ( "io" + "github.com/golang/protobuf/proto" "github.com/google/grpc-go/rpc/codes" "github.com/google/grpc-go/rpc/metadata" "github.com/google/grpc-go/rpc/transport" - "github.com/golang/protobuf/proto" "golang.org/x/net/context" ) diff --git a/rpc/test/end2end_test.go b/rpc/test/end2end_test.go index 84ce6b0d..68ba0153 100644 --- a/rpc/test/end2end_test.go +++ b/rpc/test/end2end_test.go @@ -46,12 +46,12 @@ import ( "testing" "time" + "github.com/golang/protobuf/proto" + "github.com/google/grpc-go/rpc" "github.com/google/grpc-go/rpc/codes" "github.com/google/grpc-go/rpc/credentials" "github.com/google/grpc-go/rpc/metadata" - "github.com/google/grpc-go/rpc" testpb "github.com/google/grpc-go/rpc/test/testdata" - "github.com/golang/protobuf/proto" "golang.org/x/net/context" )