Skip to content

Commit

Permalink
Update import paths to use the new official location of the Go gRPC p…
Browse files Browse the repository at this point in the history
…ackage.
  • Loading branch information
dsymonds committed Feb 9, 2015
1 parent 9e789c3 commit 416f68f
Show file tree
Hide file tree
Showing 16 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ gRPC-Go: a Go implementation of gRPC, Google's RPC library

To install this package, you need to install Go 1.4 and setup your Go workspace on your computer. The simplest way to install the library is to run:

go get github.com/grpc/grpc-go/rpc
go get google.golang.org/grpc
6 changes: 3 additions & 3 deletions call.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ import (
"io"

"github.com/golang/protobuf/proto"
"github.com/grpc/grpc-go/rpc/codes"
"github.com/grpc/grpc-go/rpc/metadata"
"github.com/grpc/grpc-go/rpc/transport"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/metadata"
"google.golang.org/grpc/transport"
"golang.org/x/net/context"
)

Expand Down
4 changes: 2 additions & 2 deletions clientconn.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ import (
"sync"
"time"

"github.com/grpc/grpc-go/rpc/credentials"
"github.com/grpc/grpc-go/rpc/transport"
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/transport"
"golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion compiler/go_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ string GetServices(const google::protobuf::FileDescriptor* file,
"\t\"io\"\n");
}
printer.Print(
"\t\"github.com/google/grpc-go/rpc\"\n"
"\t\"google.golang.org/grpc\"\n"
"\tcontext \"golang.org/x/net/context\"\n"
"\tproto \"github.com/golang/protobuf/proto\"\n"
")\n\n");
Expand Down
6 changes: 3 additions & 3 deletions interop/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ import (
"strconv"

"github.com/golang/protobuf/proto"
"github.com/grpc/grpc-go/rpc"
"github.com/grpc/grpc-go/rpc/credentials"
testpb "github.com/grpc/grpc-go/rpc/interop/testdata"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
testpb "google.golang.org/grpc/interop/testdata"
"golang.org/x/net/context"
)

Expand Down
6 changes: 3 additions & 3 deletions interop/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ import (
"strconv"
"time"

"github.com/grpc/grpc-go/rpc/credentials"
testpb "github.com/grpc/grpc-go/rpc/interop/testdata"
"github.com/grpc/grpc-go/rpc"
"google.golang.org/grpc/credentials"
testpb "google.golang.org/grpc/interop/testdata"
"google.golang.org/grpc"
"github.com/golang/protobuf/proto"
"golang.org/x/net/context"
)
Expand Down
6 changes: 3 additions & 3 deletions rpc_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ import (
"time"

"github.com/golang/protobuf/proto"
"github.com/grpc/grpc-go/rpc/codes"
"github.com/grpc/grpc-go/rpc/metadata"
"github.com/grpc/grpc-go/rpc/transport"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/metadata"
"google.golang.org/grpc/transport"
"golang.org/x/net/context"
)

Expand Down
4 changes: 2 additions & 2 deletions rpc_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ import (
"time"

"github.com/golang/protobuf/proto"
"github.com/grpc/grpc-go/rpc/codes"
"github.com/grpc/grpc-go/rpc/transport"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/transport"
"golang.org/x/net/context"
)

Expand Down
6 changes: 3 additions & 3 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ import (
"sync"

"github.com/golang/protobuf/proto"
"github.com/grpc/grpc-go/rpc/codes"
"github.com/grpc/grpc-go/rpc/metadata"
"github.com/grpc/grpc-go/rpc/transport"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/metadata"
"google.golang.org/grpc/transport"
"golang.org/x/net/context"
)

Expand Down
6 changes: 3 additions & 3 deletions stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ import (
"io"

"github.com/golang/protobuf/proto"
"github.com/grpc/grpc-go/rpc/codes"
"github.com/grpc/grpc-go/rpc/metadata"
"github.com/grpc/grpc-go/rpc/transport"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/metadata"
"google.golang.org/grpc/transport"
"golang.org/x/net/context"
)

Expand Down
10 changes: 5 additions & 5 deletions test/end2end_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ import (
"time"

"github.com/golang/protobuf/proto"
"github.com/grpc/grpc-go/rpc"
"github.com/grpc/grpc-go/rpc/codes"
"github.com/grpc/grpc-go/rpc/credentials"
"github.com/grpc/grpc-go/rpc/metadata"
testpb "github.com/grpc/grpc-go/rpc/test/testdata"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/metadata"
testpb "google.golang.org/grpc/test/testdata"
"golang.org/x/net/context"
)

Expand Down
6 changes: 3 additions & 3 deletions transport/http2_client_transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ import (

"github.com/bradfitz/http2"
"github.com/bradfitz/http2/hpack"
"github.com/grpc/grpc-go/rpc/codes"
"github.com/grpc/grpc-go/rpc/credentials"
"github.com/grpc/grpc-go/rpc/metadata"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/metadata"
"golang.org/x/net/context"
)

Expand Down
4 changes: 2 additions & 2 deletions transport/http2_server_transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ import (

"github.com/bradfitz/http2"
"github.com/bradfitz/http2/hpack"
"github.com/grpc/grpc-go/rpc/codes"
"github.com/grpc/grpc-go/rpc/metadata"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/metadata"
"golang.org/x/net/context"
)

Expand Down
4 changes: 2 additions & 2 deletions transport/http_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ import (

"github.com/bradfitz/http2"
"github.com/bradfitz/http2/hpack"
"github.com/grpc/grpc-go/rpc/codes"
"github.com/grpc/grpc-go/rpc/metadata"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/metadata"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions transport/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ import (
"net"
"sync"

"github.com/grpc/grpc-go/rpc/codes"
"github.com/grpc/grpc-go/rpc/credentials"
"github.com/grpc/grpc-go/rpc/metadata"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/metadata"
"golang.org/x/net/context"
)

Expand Down
4 changes: 2 additions & 2 deletions transport/transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ import (
"testing"
"time"

"github.com/grpc/grpc-go/rpc/codes"
"github.com/grpc/grpc-go/rpc/credentials"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/credentials"
"golang.org/x/net/context"
)

Expand Down

0 comments on commit 416f68f

Please sign in to comment.