فهرست منبع

Merge pull request #326 from golang/revert-275-go-context-stdlib

Revert "Update to standard library context package."
Joe Tsai 9 سال پیش
والد
کامیت
2bba060313
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"
 )