Преглед изворни кода

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"
 )