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

Revert "Update to standard library context package. (#275)"

This reverts commit e514ff57e81961e29ca4d63ea13e7e300a01fb53.
Joe Tsai 9 лет назад
Родитель
Сommit
154c03a3a9
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 = "context"
+	contextPkgPath = "golang.org/x/net/context"
 	grpcPkgPath    = "google.golang.org/grpc"
 )