Просмотр исходного кода

Update to standard library context package. (#275)

Chris Goller 9 лет назад
Родитель
Сommit
e514ff57e8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      protoc-gen-go/grpc/grpc.go

+ 1 - 1
protoc-gen-go/grpc/grpc.go

@@ -53,7 +53,7 @@ const generatedCodeVersion = 4
 // Paths for packages used by code generated in this file,
 // relative to the import_prefix of the generator.Generator.
 const (
-	contextPkgPath = "golang.org/x/net/context"
+	contextPkgPath = "context"
 	grpcPkgPath    = "google.golang.org/grpc"
 )