Use proto import from google.golang.org instead of github.com (#1176)
This commit is contained in:
Родитель
9090ef91c3
Коммит
b47cbd158b
|
@ -46,7 +46,7 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/golang/protobuf/proto"
|
||||
spb "github.com/google/go-genproto/googleapis/rpc/status"
|
||||
spb "google.golang.org/genproto/googleapis/rpc/status"
|
||||
"google.golang.org/grpc/codes"
|
||||
)
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ import (
|
|||
"testing"
|
||||
|
||||
apb "github.com/golang/protobuf/ptypes/any"
|
||||
spb "github.com/google/go-genproto/googleapis/rpc/status"
|
||||
spb "google.golang.org/genproto/googleapis/rpc/status"
|
||||
"google.golang.org/grpc/codes"
|
||||
)
|
||||
|
||||
|
|
|
@ -55,9 +55,9 @@ import (
|
|||
|
||||
"github.com/golang/protobuf/proto"
|
||||
anypb "github.com/golang/protobuf/ptypes/any"
|
||||
spb "github.com/google/go-genproto/googleapis/rpc/status"
|
||||
"golang.org/x/net/context"
|
||||
"golang.org/x/net/http2"
|
||||
spb "google.golang.org/genproto/googleapis/rpc/status"
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/codes"
|
||||
"google.golang.org/grpc/credentials"
|
||||
|
|
|
@ -45,9 +45,9 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/golang/protobuf/proto"
|
||||
spb "github.com/google/go-genproto/googleapis/rpc/status"
|
||||
"golang.org/x/net/http2"
|
||||
"golang.org/x/net/http2/hpack"
|
||||
spb "google.golang.org/genproto/googleapis/rpc/status"
|
||||
"google.golang.org/grpc/codes"
|
||||
"google.golang.org/grpc/grpclog"
|
||||
"google.golang.org/grpc/metadata"
|
||||
|
|
Загрузка…
Ссылка в новой задаче