Procházet zdrojové kódy

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

Revert "Update to standard library context package."
Joe Tsai před 9 roky
rodič
revize
2bba060313
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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,
 // Paths for packages used by code generated in this file,
 // relative to the import_prefix of the generator.Generator.
 // relative to the import_prefix of the generator.Generator.
 const (
 const (
-	contextPkgPath = "context"
+	contextPkgPath = "golang.org/x/net/context"
 	grpcPkgPath    = "google.golang.org/grpc"
 	grpcPkgPath    = "google.golang.org/grpc"
 )
 )